Skip to content
Permalink
Browse files

Fixed a potential issue with SetBridge and SetDoor

  • Loading branch information...
me4502 committed Nov 11, 2018
1 parent 682c835 commit 06cea9ad05225b67ed1c26a2800faa4484cfbb3c
@@ -49,7 +49,7 @@ public void load() {
if (!line.isEmpty()) {
String[] split = RegexUtil.MINUS_PATTERN.split(line);
// parse the material data
if (split.length > 0) {
if (split.length > 1) {
offBlock = BlockSyntax.getBukkitBlock(split[1]);
}
// parse the material and data for toggle on
@@ -51,7 +51,7 @@ public void load() {
if (!line.isEmpty()) {
String[] split = RegexUtil.MINUS_PATTERN.split(line);
// parse the material data
if (split.length > 0) {
if (split.length > 1) {
offBlock = BlockSyntax.getBukkitBlock(split[1]);
}
// parse the material and data for toggle on

0 comments on commit 06cea9a

Please sign in to comment.
You can’t perform that action at this time.