Set GM to creative in edit mode

This commit is contained in:
Daniel Saukel 2015-07-29 00:06:48 +02:00
parent de514eff01
commit 29b9742df5
2 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@ public class DPlayer {
this.isEditing = isEditing;
if (this.isEditing) {
this.player.setGameMode(GameMode.CREATIVE);
this.clearPlayerData();
} else {
this.player.setGameMode(GameMode.SURVIVAL);

View File

@ -1,6 +1,6 @@
name: DungeonsXL
main: com.dre.dungeonsxl.P
version: 0.9.5-SNAPSHOT
version: 0.9.5
author: Frank Baumann
authors: [Frank Baumann, Milan Albrecht, Tobias Schmitz, Daniel Saukel]
website: http://www.dre2n.ml