diff --git a/TheButtonAutoFlair.jar b/TheButtonAutoFlair.jar index 640970c..3b44d61 100644 Binary files a/TheButtonAutoFlair.jar and b/TheButtonAutoFlair.jar differ diff --git a/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/CreativeGlobalMechanic.java b/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/CreativeGlobalMechanic.java index 50335c0..4fe577b 100644 --- a/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/CreativeGlobalMechanic.java +++ b/TheButtonAutoFlair/src/tk/sznp/thebuttonautoflair/CreativeGlobalMechanic.java @@ -37,8 +37,7 @@ public class CreativeGlobalMechanic extends GameMechanicBase { @Override public void joinMinigame(Minigame mg, MinigamePlayer mp) { - mp.getPlayer().setAllowFlight(true); - mp.getPlayer().setFlying(true); + mp.setCanFly(true); mp.setAllowTeleport(true); } @@ -69,6 +68,7 @@ public class CreativeGlobalMechanic extends GameMechanicBase { final List players = event.getPlayers(); //final Minigame minigame = event.getMinigame(); for (MinigamePlayer player : players) { + player.setCanFly(true); player.setAllowTeleport(true); } } diff --git a/TheButtonAutoFlair/target/classes/tk/sznp/thebuttonautoflair/CreativeGlobalMechanic.class b/TheButtonAutoFlair/target/classes/tk/sznp/thebuttonautoflair/CreativeGlobalMechanic.class index bcf11c5..d3a6713 100644 Binary files a/TheButtonAutoFlair/target/classes/tk/sznp/thebuttonautoflair/CreativeGlobalMechanic.class and b/TheButtonAutoFlair/target/classes/tk/sznp/thebuttonautoflair/CreativeGlobalMechanic.class differ