Bugfix: portal blocks don't get set when unhiding a gate.

This commit is contained in:
Tobias Ottenweller 2013-06-23 19:04:07 +02:00
parent a16d847234
commit 6df27c14a0

View File

@ -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) {