From 916417dec823cda89d151f212fb1d15b0f3ce0cf Mon Sep 17 00:00:00 2001 From: galaxyoyo Date: Fri, 9 Jan 2015 19:46:48 +0100 Subject: [PATCH] =?UTF-8?q?Chang=C3=A9=20format=20de=20fichier=20de=20map?= =?UTF-8?q?=20:=20*.gworld=20=C3=A0=20*.gmap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/galaxyoyo/unknown/api/editor/EditorAPI.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/galaxyoyo/unknown/api/editor/EditorAPI.java b/src/main/java/galaxyoyo/unknown/api/editor/EditorAPI.java index ead626b..ae27483 100644 --- a/src/main/java/galaxyoyo/unknown/api/editor/EditorAPI.java +++ b/src/main/java/galaxyoyo/unknown/api/editor/EditorAPI.java @@ -69,9 +69,9 @@ public class EditorAPI file = jfc.getSelectedFile(); } - if (!file.getName().toLowerCase().endsWith(".gworld") && !file.getName().toLowerCase().endsWith(".dat")) + if (!file.getName().toLowerCase().endsWith(".gmap") && !file.getName().toLowerCase().endsWith(".dat")) { - file = new File(file.getParentFile(), file.getName() + ".gworld"); + file = new File(file.getParentFile(), file.getName() + ".gmap"); } save(file, map);