From 3a6a76a86c300d3146dfa0301864b2468471b664 Mon Sep 17 00:00:00 2001 From: graywolf336 Date: Wed, 5 Mar 2014 22:15:22 -0600 Subject: [PATCH] Try a different way of seeing if a block is a sign on removing of a cell --- src/main/java/com/graywolf336/jail/beans/Jail.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/graywolf336/jail/beans/Jail.java b/src/main/java/com/graywolf336/jail/beans/Jail.java index bcf8184..f2ce632 100644 --- a/src/main/java/com/graywolf336/jail/beans/Jail.java +++ b/src/main/java/com/graywolf336/jail/beans/Jail.java @@ -165,7 +165,7 @@ public class Jail { //For each sign, clear the lines on the sign for(SimpleLocation s : this.cells.get(name).getSigns()) { - if(s.getLocation().getBlock().getState() instanceof Sign) { + if(s.getLocation().getBlock() instanceof Sign) { Sign sign = (Sign) s.getLocation().getBlock(); for(int i = 0; i < 4; i++) { sign.setLine(i, "");