mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2025-01-24 09:01:52 +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;
|
||||
|
||||
if (this.isEditing) {
|
||||
this.player.setGameMode(GameMode.CREATIVE);
|
||||
this.clearPlayerData();
|
||||
} else {
|
||||
this.player.setGameMode(GameMode.SURVIVAL);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user