Fake player portal fix (#1724)

* fake-player-portal-fix:
* Fix the teleport fix, so it doesn't crash when bots go through nether portals (Fixes #1712)

* fake-player-portal-fix:
* Re-implement fix for #1190
* Without causing #1712
* Just move the bot on the chunkmap directly.
This commit is contained in:
James McCulloch authored and GitHub committed 2023-05-24 14:24:03 +02:00
1 parent f75e3d77a2
commit aeb68e9ba0
3 files changed
+3 -27

No files matched your search

@@ -1,11 +0,0 @@
package carpet.mixins;
import net.minecraft.server.network.ServerGamePacketListenerImpl;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;
@Mixin(ServerGamePacketListenerImpl.class)
public interface ServerGamePacketListenerImplAccessor {
@Accessor("awaitingTeleport")
public int getAwaitingTeleport();
}