fixed: walls
This commit is contained in:
@@ -48,6 +48,8 @@ public class BlocksHooks {
|
|||||||
Block.diffusesSkyLight = new boolean[Block.MAX_BLOCK_ID];
|
Block.diffusesSkyLight = new boolean[Block.MAX_BLOCK_ID];
|
||||||
Block.hasMeta = new boolean[Block.MAX_BLOCK_ID];
|
Block.hasMeta = new boolean[Block.MAX_BLOCK_ID];
|
||||||
|
|
||||||
|
ReflectHelper.invoke(Blocks.class, "init", new Object[0]);
|
||||||
|
|
||||||
registerWall(BlockWall.WallType.DIORITE, BlockDioriteWall.class);
|
registerWall(BlockWall.WallType.DIORITE, BlockDioriteWall.class);
|
||||||
registerWall(BlockWall.WallType.COBBLESTONE, BlockCobblestoneWall.class);
|
registerWall(BlockWall.WallType.COBBLESTONE, BlockCobblestoneWall.class);
|
||||||
registerWall(BlockWall.WallType.BRICK, BlockBrickWall.class);
|
registerWall(BlockWall.WallType.BRICK, BlockBrickWall.class);
|
||||||
@@ -66,8 +68,6 @@ public class BlocksHooks {
|
|||||||
registerWall(BlockWall.WallType.POLISHED_BLACKSTONE, BlockPolishedBlackstoneWall.class);
|
registerWall(BlockWall.WallType.POLISHED_BLACKSTONE, BlockPolishedBlackstoneWall.class);
|
||||||
registerWall(BlockWall.WallType.POLISHED_BLACKSTONE_BRICK, BlockPolishedBlackstoneBrickWall.class);
|
registerWall(BlockWall.WallType.POLISHED_BLACKSTONE_BRICK, BlockPolishedBlackstoneBrickWall.class);
|
||||||
|
|
||||||
ReflectHelper.invoke(Blocks.class, "init", new Object[0]);
|
|
||||||
|
|
||||||
final BlockUnknown BLOCK_UNKNOWN = new BlockUnknown(Block.MAX_BLOCK_ID, 0);
|
final BlockUnknown BLOCK_UNKNOWN = new BlockUnknown(Block.MAX_BLOCK_ID, 0);
|
||||||
|
|
||||||
for (int id = 0; id < Block.MAX_BLOCK_ID; id++) {
|
for (int id = 0; id < Block.MAX_BLOCK_ID; id++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user