mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 01:27:27 +00:00
Fixed wrong tile entity cast
This commit is contained in:
1 parent
1c1deb7e52
commit
e2634cd4ec
1 file changed
+1
-1
@@ -19,7 +19,7 @@ public class BlockScriptedWrapper extends ScriptBlock implements IBlockScripted{
|
||||
|
||||
public BlockScriptedWrapper(World world, Block block, int x, int y, int z) {
|
||||
super(world, block, new BlockPos(x,y,z));
|
||||
tile = (TileScripted) super.tile;
|
||||
tile = (TileScripted) super.tile.getMCTileEntity();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user