Fixed a major bug with the sign chest protection. It replaced the second line of the sign with "[Lock]".

This commit is contained in:
sk89q 2011-04-11 11:54:50 -07:00
parent afd3cbd311
commit ad659cd32e

View File

@ -483,7 +483,7 @@ public void onSignChange(SignChangeEvent event) {
event.setCancelled(true);
return;
} else {
event.setLine(1, "[Lock]");
event.setLine(0, "[Lock]");
player.sendMessage(ChatColor.YELLOW
+ "A chest or double chest above is now protected.");
}