Add BlockData#getAsString(boolean) to hide unspecified states
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
@@ -43,15 +43,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -646,7 +653,7 @@
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
- return "Block{" + IRegistry.BLOCK.getKey(this) + "}";
|
||||
+ return IRegistry.BLOCK.getKey(this).toString(); // CraftBukkit - cheap hack
|
||||
}
|
||||
|
||||
public static boolean c(Block block) {
|
||||
@@ -1395,8 +1402,14 @@
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user