From 0b28caf466c55e17e033bcfe4278178ca425e4cb Mon Sep 17 00:00:00 2001 From: DerPavlov Date: Sun, 17 May 2020 15:20:03 +0200 Subject: [PATCH] fixed sign detectin for cannons --- src/main/java/at/pavlov/cannons/cannon/Cannon.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/at/pavlov/cannons/cannon/Cannon.java b/src/main/java/at/pavlov/cannons/cannon/Cannon.java index a5973c36..a3fb96ac 100644 --- a/src/main/java/at/pavlov/cannons/cannon/Cannon.java +++ b/src/main/java/at/pavlov/cannons/cannon/Cannon.java @@ -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;