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:
Ursprung
d70f7168e5
Commit
fa64fa5bed
@ -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
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren