1
0
forked from xjboss/KCauldronX

修复判断区块是否激活调用方法参数错误的问题

This commit is contained in:
聪聪 2017-08-01 01:21:48 +08:00
parent 1a0a2e13fa
commit e72d7cb2fb

View File

@ -1040,7 +1040,7 @@
+ }
+
+ if (tileentity.hasWorldObj() && CauldronHooks.canTileEntityTick(tileentity, this)
+ && (MinecraftServer.cauldronConfig.tickTEOnlyChunkActive.getValue()?this.isActiveChunk(tileentity.xCoord,tileentity.zCoord):
+ && (MinecraftServer.cauldronConfig.tickTEOnlyChunkActive.getValue()?this.isActiveBlockCoord(tileentity.xCoord,tileentity.zCoord):
+ this.blockExists(tileentity.xCoord, tileentity.yCoord, tileentity.zCoord)
+ )
+ )