From fc488e7f31f90111e7dc288058218dbe168b383a Mon Sep 17 00:00:00 2001 From: Tobias Ottenweller Date: Thu, 4 Jul 2013 10:19:57 +0200 Subject: [PATCH] Remove portal blocks at the old location of a gate when setting a new location. --- src/de/craftinc/gates/commands/CommandLocation.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/craftinc/gates/commands/CommandLocation.java b/src/de/craftinc/gates/commands/CommandLocation.java index 48099be..a874886 100644 --- a/src/de/craftinc/gates/commands/CommandLocation.java +++ b/src/de/craftinc/gates/commands/CommandLocation.java @@ -63,6 +63,7 @@ public class CommandLocation extends BaseLocationCommand if (gateOpen) { gate.setOpen(false); + GateBlockChangeSender.updateGateBlocks(gate); } Location oldLocation = gate.getLocation();