diff --git a/gradle.properties b/gradle.properties index 01d1f02..b0c3eeb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,9 +2,9 @@ org.gradle.jvmargs=-Xmx1G # Fabric properties -minecraft_version=20w20b -yarn_mappings=20w20b+build.1 -loader_version=0.8.3+build.196 +minecraft_version=20w21a +yarn_mappings=20w21a+build.2 +loader_version=0.8.4+build.198 #Fabric api fabric_version=0.10.9+build.346-1.16 diff --git a/src/main/java/org/samo_lego/simpleauth/event/AuthEventHandler.java b/src/main/java/org/samo_lego/simpleauth/event/AuthEventHandler.java index 231f52f..5793d56 100644 --- a/src/main/java/org/samo_lego/simpleauth/event/AuthEventHandler.java +++ b/src/main/java/org/samo_lego/simpleauth/event/AuthEventHandler.java @@ -111,12 +111,12 @@ public class AuthEventHandler { // Faking portal blocks to be air BlockUpdateS2CPacket feetPacket = new BlockUpdateS2CPacket(); - ((BlockUpdateS2CPacketAccessor) feetPacket).setState(new BlockState(Blocks.AIR, null)); + ((BlockUpdateS2CPacketAccessor) feetPacket).setState(new BlockState(Blocks.AIR, null, null)); ((BlockUpdateS2CPacketAccessor) feetPacket).setBlockPos(pos); player.networkHandler.sendPacket(feetPacket); BlockUpdateS2CPacket headPacket = new BlockUpdateS2CPacket(); - ((BlockUpdateS2CPacketAccessor) headPacket).setState(new BlockState(Blocks.AIR, null)); + ((BlockUpdateS2CPacketAccessor) headPacket).setState(new BlockState(Blocks.AIR, null, null)); ((BlockUpdateS2CPacketAccessor) headPacket).setBlockPos(pos.up()); player.networkHandler.sendPacket(headPacket);