mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-01-12 19:30:48 +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);
|
event.setCancelled(true);
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
event.setLine(1, "[Lock]");
|
event.setLine(0, "[Lock]");
|
||||||
player.sendMessage(ChatColor.YELLOW
|
player.sendMessage(ChatColor.YELLOW
|
||||||
+ "A chest or double chest above is now protected.");
|
+ "A chest or double chest above is now protected.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user