Skip to content

Commit

Permalink
バグ修正
Browse files Browse the repository at this point in the history
  • Loading branch information
kanasaki15 committed Jun 14, 2020
1 parent 837151e commit aaeea04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/xyz/n7mn/dev/mspplugin/MinecartEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@ private Block GetSignBlock (Block b, int move, String rotate){
rightBlock = b.getWorld().getBlockAt(tempBlock.getX() + 1,tempBlock.getY(),tempBlock.getZ());
}

if (SignCheck(leftBlock) && GetSignText(leftBlock)[1].equals("[msp]")){
if (SignCheck(leftBlock) && GetSignText(leftBlock)[0].equals("[msp]")){
return leftBlock;
}
if (SignCheck(rightBlock) && GetSignText(rightBlock)[1].equals("[msp]")){
if (SignCheck(rightBlock) && GetSignText(rightBlock)[0].equals("[msp]")){
return rightBlock;
}
}
Expand Down

0 comments on commit aaeea04

Please sign in to comment.