From 66f075dfccb3bdd91fe0e653a56b6ff93baa4aa0 Mon Sep 17 00:00:00 2001 From: OmerBenGera Date: Sun, 12 Dec 2021 12:43:04 +0200 Subject: [PATCH] Fix method usage --- .../com/bgsoftware/wildloaders/nms/ChunkLoaderNPC_v1_18_R1.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1_18_R1/src/main/java/com/bgsoftware/wildloaders/nms/ChunkLoaderNPC_v1_18_R1.java b/v1_18_R1/src/main/java/com/bgsoftware/wildloaders/nms/ChunkLoaderNPC_v1_18_R1.java index 7acb34e..f11bb16 100644 --- a/v1_18_R1/src/main/java/com/bgsoftware/wildloaders/nms/ChunkLoaderNPC_v1_18_R1.java +++ b/v1_18_R1/src/main/java/com/bgsoftware/wildloaders/nms/ChunkLoaderNPC_v1_18_R1.java @@ -36,7 +36,7 @@ public final class ChunkLoaderNPC_v1_18_R1 extends EntityPlayer implements Chunk this.b = new DummyPlayerConnection(minecraftServer, this); - setGameMode(this.d, EnumGamemode.b); + NMSMappings_v1_18_R1.setGameMode(this.d, EnumGamemode.b); clientViewDistance = 1; fauxSleeping = true;