mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 04:46:40 +00:00
Abstracted all block IDs to BlockID and item ids to ItemType. Overloaded recently changed methods for compatibility and cleaned a few things up.
This commit is contained in:
@ -288,7 +288,7 @@ public class WorldEdit {
|
||||
ClothColor col = ClothColor.lookup(testID);
|
||||
|
||||
if (col != null) {
|
||||
blockType = BlockType.fromID(35);
|
||||
blockType = BlockType.CLOTH;
|
||||
data = col.getID();
|
||||
} else {
|
||||
throw new UnknownItemException(arg);
|
||||
|
Reference in New Issue
Block a user