From b07e912063d1805752d80549aa75703785272f48 Mon Sep 17 00:00:00 2001 From: TheMode Date: Thu, 15 Jul 2021 22:14:57 +0200 Subject: [PATCH] Fix build --- src/lwjgl/java/net/minestom/demo/largeframebuffers/Demo.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lwjgl/java/net/minestom/demo/largeframebuffers/Demo.java b/src/lwjgl/java/net/minestom/demo/largeframebuffers/Demo.java index 5883660b9..97d092b0b 100644 --- a/src/lwjgl/java/net/minestom/demo/largeframebuffers/Demo.java +++ b/src/lwjgl/java/net/minestom/demo/largeframebuffers/Demo.java @@ -5,7 +5,6 @@ import net.minestom.server.MinecraftServer; import net.minestom.server.coordinate.Pos; import net.minestom.server.entity.Entity; import net.minestom.server.entity.EntityType; -import net.minestom.server.entity.GameMode; import net.minestom.server.entity.metadata.other.ItemFrameMeta; import net.minestom.server.instance.Instance; import net.minestom.server.instance.InstanceManager; @@ -34,10 +33,6 @@ public class Demo { } private static void initDemo() { - MinecraftServer.getConnectionManager().addPlayerInitialization(player -> { - player.setGameMode(GameMode.CREATIVE); - }); - InstanceManager instances = MinecraftServer.getInstanceManager(); Instance instance = instances.getInstances().stream().findAny().get();