3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 02:50:05 +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
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