Fixed new-island.signs.line* locale entries

This commit is contained in:
Florian CUNY 2018-01-27 16:47:30 +01:00
parent 8b636a8ee3
commit 9cc9518bc3
2 changed files with 5 additions and 5 deletions

View File

@ -213,7 +213,7 @@ protection:
new-island:
sign:
line1: "&1%bsb_plugin_name%"
line2: "[player]"
line3: "Don't fall!"
line4: "Have fun! &c<3"
line0: "&1%bsb_plugin_name%"
line1: "[player]"
line2: "Don't fall!"
line3: "Have fun! &c<3"

View File

@ -481,7 +481,7 @@ public class IslandBuilder {
Sign sign = (Sign) blockToChange.getState();
User user = User.getInstance(playerUUID);
for (int i = 0; i < 4; i++) {
sign.setLine(i, user.getTranslation("new-island.sign.line" + (i+1), "[player]", playerName));
sign.setLine(i, user.getTranslation("new-island.sign.line" + i, "[player]", playerName));
}
((org.bukkit.material.Sign) sign.getData()).setFacingDirection(BlockFace.NORTH);
sign.update();