From 295f6061a88996c7ef9383651b3f038f8129064a Mon Sep 17 00:00:00 2001 From: graywolf336 Date: Fri, 21 Feb 2014 12:15:44 -0600 Subject: [PATCH] Really allow the chest to be null in cells. --- .../java/com/graywolf336/jail/steps/CellCreationSteps.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/graywolf336/jail/steps/CellCreationSteps.java b/src/main/java/com/graywolf336/jail/steps/CellCreationSteps.java index e32b804..9a25173 100644 --- a/src/main/java/com/graywolf336/jail/steps/CellCreationSteps.java +++ b/src/main/java/com/graywolf336/jail/steps/CellCreationSteps.java @@ -140,7 +140,9 @@ public class CellCreationSteps { c.addAllSigns(cp.getSigns()); c.setTeleport(cp.getTeleportInSL()); - c.setChestLocation(cp.getChestLocation()); + + if(cp.getChestLocation() != null) + c.setChestLocation(cp.getChestLocation()); j.addCell(c, true);