Fixed errors when spawning npcs for chunk loaders in 1.17 (#53)

* Update gradle.properties

* Remove parameter type duplicate

Fix bug as of issue #49

* Switch fix
This commit is contained in:
Marcus Rokatis 2022-07-14 19:36:35 +02:00 committed by GitHub
parent ba5e2637ff
commit b96da57311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ public final class ChunkLoaderNPC_v1_17_R1 extends EntityPlayer implements Chunk
this.b = new DummyPlayerConnection(minecraftServer, this);
SET_GAMEMODE.invoke(this.d, EnumGamemode.b);
SET_GAMEMODE.invoke(this.d, EnumGamemode.b, null);
clientViewDistance = 1;
fauxSleeping = true;