From 6df27c14a0356fb24870be1f4bcbcc42662428b3 Mon Sep 17 00:00:00 2001 From: Tobias Ottenweller Date: Sun, 23 Jun 2013 19:04:07 +0200 Subject: [PATCH] Bugfix: portal blocks don't get set when unhiding a gate. --- src/de/craftinc/gates/commands/CommandUnhide.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/de/craftinc/gates/commands/CommandUnhide.java b/src/de/craftinc/gates/commands/CommandUnhide.java index 8661df3..4485e22 100644 --- a/src/de/craftinc/gates/commands/CommandUnhide.java +++ b/src/de/craftinc/gates/commands/CommandUnhide.java @@ -16,6 +16,7 @@ */ package de.craftinc.gates.commands; +import de.craftinc.gates.util.GateBlockChangeSender; import org.bukkit.ChatColor; import de.craftinc.gates.Plugin; @@ -46,6 +47,7 @@ public class CommandUnhide extends BaseCommand try { gate.setHidden(false); + GateBlockChangeSender.updateGateBlocks(gate); sendMessage(ChatColor.GREEN + "The gate " + gate.getId() + " is now visible."); } catch (Exception e) {