[Forge] Stop "supporting" some invalid blocks.

This commit is contained in:
Kenzie Togami 2016-06-23 03:51:16 -07:00
parent d70f7168e5
commit fa64fa5bed

View File

@ -339,7 +339,8 @@ public WorldData getWorldData() {
@Override
public boolean isValidBlockType(int id) {
return (id == 0) || (net.minecraft.block.Block.getBlockById(id) != null);
Block block = Block.getBlockById(id);
return Block.getIdFromBlock(block) == id;
}
@Override