3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-25 02:20:07 +01:00

[Forge] Stop "supporting" some invalid blocks.

Dieser Commit ist enthalten in:
Kenzie Togami 2016-06-23 03:51:16 -07:00
Ursprung d70f7168e5
Commit fa64fa5bed

Datei anzeigen

@ -339,7 +339,8 @@ public class ForgeWorld extends AbstractWorld {
@Override @Override
public boolean isValidBlockType(int id) { 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 @Override