mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-25 02:27:42 +01:00
Fixed a major bug with the sign chest protection. It replaced the second line of the sign with "[Lock]".
This commit is contained in:
parent
afd3cbd311
commit
ad659cd32e
@ -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.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user