Commit c7d80f3b authored by Amosar's avatar Amosar

Correct piston and repeater duplication when sign are not used

Signed-off-by: Amosar's avatarAmosar <maxi.cass11@gmail.com>
parent f2824bc5
......@@ -62,6 +62,8 @@ class Util {
sign.setLine(3, Main.getInstance().getConfig().getString("Sign.Line4")
.replace("&", "§"));
sign.update(false, false);
} else {
block.setType(Material.AIR);
}
Bukkit.getLogger()
.info(Msg.Prefix + Msg.MsgToAdmin.toString()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment