mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2025-01-24 17:11:55 +01:00
Set GM to creative in edit mode
This commit is contained in:
parent
de514eff01
commit
29b9742df5
@ -71,6 +71,7 @@ public class DPlayer {
|
|||||||
this.isEditing = isEditing;
|
this.isEditing = isEditing;
|
||||||
|
|
||||||
if (this.isEditing) {
|
if (this.isEditing) {
|
||||||
|
this.player.setGameMode(GameMode.CREATIVE);
|
||||||
this.clearPlayerData();
|
this.clearPlayerData();
|
||||||
} else {
|
} else {
|
||||||
this.player.setGameMode(GameMode.SURVIVAL);
|
this.player.setGameMode(GameMode.SURVIVAL);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: DungeonsXL
|
name: DungeonsXL
|
||||||
main: com.dre.dungeonsxl.P
|
main: com.dre.dungeonsxl.P
|
||||||
version: 0.9.5-SNAPSHOT
|
version: 0.9.5
|
||||||
author: Frank Baumann
|
author: Frank Baumann
|
||||||
authors: [Frank Baumann, Milan Albrecht, Tobias Schmitz, Daniel Saukel]
|
authors: [Frank Baumann, Milan Albrecht, Tobias Schmitz, Daniel Saukel]
|
||||||
website: http://www.dre2n.ml
|
website: http://www.dre2n.ml
|
||||||
|
Loading…
Reference in New Issue
Block a user