From 4c01a1a6ab925659b17808dab67d77ffcb740783 Mon Sep 17 00:00:00 2001 From: samo_lego <34912839+samolego@users.noreply.github.com> Date: Wed, 20 May 2020 21:20:27 +0200 Subject: [PATCH] 20w21a. Waiting for Fabric dims --- gradle.properties | 6 +++--- .../org/samo_lego/simpleauth/event/AuthEventHandler.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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);