Skip to content

Commit

Permalink
fixed sign detectin for cannons
Browse files Browse the repository at this point in the history
  • Loading branch information
DerPavlov committed May 17, 2020
1 parent 070d13a commit 0b28caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/at/pavlov/cannons/cannon/Cannon.java
Original file line number Diff line number Diff line change
Expand Up @@ -1539,7 +1539,7 @@ public boolean hasCannonSign()
// search all possible sign locations
for (Location signLoc : design.getChestsAndSigns(this))
{
if (signLoc.getBlock() instanceof WallSign)
if (signLoc.getBlock().getBlockData() instanceof WallSign)
return true;
}
return false;
Expand Down

0 comments on commit 0b28caf

Please sign in to comment.