Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-06 16:12:51 +02: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
|
@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
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren