Update on Spigot

This commit is contained in:
BuildTools 2018-04-24 21:49:24 +02:00
parent 2ed654dd6f
commit dde63e88cd
2 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,7 @@
- Config dokumentieren
- WorldConfig dokumentieren
- Mehrere TemplateWorlds, WeltGenerator konfigurieren - FLAT, DEFAULT, VOID, ...
-
- AutoUpdater
2.0.3:
- PlotMe Generator erstellen -> Config gibt Feldgröße an

View File

@ -5,6 +5,7 @@ import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import de.butzlabben.world.WorldSystem;
import de.butzlabben.world.config.MessageConfig;
import de.butzlabben.world.wrapper.WorldPlayer;
@ -21,7 +22,7 @@ public class GuiCommand implements CommandExecutor {
sender.sendMessage(MessageConfig.getNoPermission());
return true;
}
((Player) sender).openInventory(new WorldSystemGUI().getInventory((Player) sender));
((Player) sender).openInventory(WorldSystem.mainGUI.getInventory((Player) sender));
return true;
}