mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-09-29 23:47:30 +02:00
*whoops
This commit is contained in:
parent
e03cb44b16
commit
f5feefdc83
@ -230,8 +230,8 @@ public class DefaultBlockParser extends InputParser<BaseBlock> {
|
|||||||
if (typeAndData.length > 1 && !typeAndData[1].isEmpty()) {
|
if (typeAndData.length > 1 && !typeAndData[1].isEmpty()) {
|
||||||
if (MathMan.isInteger(typeAndData[1])) {
|
if (MathMan.isInteger(typeAndData[1])) {
|
||||||
data = Integer.parseInt(typeAndData[1]);
|
data = Integer.parseInt(typeAndData[1]);
|
||||||
data = -1; // Some invalid value
|
|
||||||
} else {
|
} else {
|
||||||
|
data = -1; // Some invalid value
|
||||||
BundledBlockData.BlockEntry block = BundledBlockData.getInstance().findById(blockId);
|
BundledBlockData.BlockEntry block = BundledBlockData.getInstance().findById(blockId);
|
||||||
if (block != null && block.states != null) {
|
if (block != null && block.states != null) {
|
||||||
loop:
|
loop:
|
||||||
|
Loading…
Reference in New Issue
Block a user