This commit is contained in:
Jesse Boyd 2017-05-10 12:09:25 +10:00
parent e03cb44b16
commit f5feefdc83
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -230,8 +230,8 @@ public class DefaultBlockParser extends InputParser<BaseBlock> {
if (typeAndData.length > 1 && !typeAndData[1].isEmpty()) {
if (MathMan.isInteger(typeAndData[1])) {
data = Integer.parseInt(typeAndData[1]);
data = -1; // Some invalid value
} else {
data = -1; // Some invalid value
BundledBlockData.BlockEntry block = BundledBlockData.getInstance().findById(blockId);
if (block != null && block.states != null) {
loop: