diff options
author | Jacob Martin <jjm_223@hotmail.com> | 2017-06-12 12:41:18 -0500 |
---|---|---|
committer | Jacob Martin <jjm_223@hotmail.com> | 2017-06-12 12:41:18 -0500 |
commit | f7d14f184d386cb5b0dd604dd1fdcd683fe9e065 (patch) | |
tree | 6a955906a6697f3e38f4bb5b07f076fd69eb222f /nms-patches/WorldServer.patch | |
parent | 2a2d6d6295cbaf35d29abdcdd1e8cd65f80b134c (diff) | |
download | craftbukkit-f7d14f184d386cb5b0dd604dd1fdcd683fe9e065.tar craftbukkit-f7d14f184d386cb5b0dd604dd1fdcd683fe9e065.tar.gz craftbukkit-f7d14f184d386cb5b0dd604dd1fdcd683fe9e065.tar.lz craftbukkit-f7d14f184d386cb5b0dd604dd1fdcd683fe9e065.tar.xz craftbukkit-f7d14f184d386cb5b0dd604dd1fdcd683fe9e065.zip |
Fix detection of missing or invalid tile entities for End portals and gateways
Diffstat (limited to 'nms-patches/WorldServer.patch')
-rw-r--r-- | nms-patches/WorldServer.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/WorldServer.patch b/nms-patches/WorldServer.patch index d5b3a137..844080d5 100644 --- a/nms-patches/WorldServer.patch +++ b/nms-patches/WorldServer.patch @@ -160,7 +160,7 @@ + result = fixTileEntity(pos, type, result); + } + } else if (type == Blocks.END_PORTAL) { -+ if (!(result instanceof TileEntityEndGateway)) { ++ if (!(result instanceof TileEntityEnderPortal)) { + result = fixTileEntity(pos, type, result); + } + } else if (type == Blocks.SKULL) { @@ -187,7 +187,7 @@ + if (!(result instanceof TileEntityStructure)) { + result = fixTileEntity(pos, type, result); + } -+ } else if (type == Blocks.END_PORTAL) { ++ } else if (type == Blocks.END_GATEWAY) { + if (!(result instanceof TileEntityEndGateway)) { + result = fixTileEntity(pos, type, result); + } |