Remove portal blocks at the old location of a gate when setting a new location.
This commit is contained in:
parent
e8f23078f1
commit
fc488e7f31
@ -63,6 +63,7 @@ public class CommandLocation extends BaseLocationCommand
|
|||||||
|
|
||||||
if (gateOpen) {
|
if (gateOpen) {
|
||||||
gate.setOpen(false);
|
gate.setOpen(false);
|
||||||
|
GateBlockChangeSender.updateGateBlocks(gate);
|
||||||
}
|
}
|
||||||
|
|
||||||
Location oldLocation = gate.getLocation();
|
Location oldLocation = gate.getLocation();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user