Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-09 13:00:05 +01:00
Fixed WorldEdit.getBlock() not supporting custom blocks when they are returned by ServerInterface.resolveItem().
Dieser Commit ist enthalten in:
Ursprung
dfefd479b6
Commit
6e24d981f6
@ -315,8 +315,9 @@ public class WorldEdit {
|
||||
blockType = BlockType.lookup(testID);
|
||||
if (blockType == null) {
|
||||
int t = server.resolveItem(testID);
|
||||
if (t > 0 && t < 256) {
|
||||
blockType = BlockType.fromID(t);
|
||||
if (t > 0) {
|
||||
blockType = BlockType.fromID(t); // Could be null
|
||||
blockId = t;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren