Former-commit-id: a83931c8fe9adc95ccdfec2370ad8f3a191cf820 [formerly ca4ec9d0f03a3f9b558e21051de0afe6e59ed9d1]
Former-commit-id: 2c56c0da7e8c331b98002ea0cdd8c9351fb45c68
This commit is contained in:
Ghost_chu committed 2018-11-09 11:02:50 +08:00
1 parent f4b93c4d32
commit 6ec93724d9
2 files changed
+3 -3

No files matched your search

@@ -482,13 +482,13 @@ public class ContainerShop implements Shop {
* The array of lines to change. Index is line number.
*/
public void setSignText(String[] lines) {
if (Util.isLoaded(this.getLocation()) == false)
if (!Util.isLoaded(this.getLocation()))
return;
for (Sign sign : this.getSigns()) {
for (int i = 0; i < lines.length; i++) {
sign.setLine(i, lines[i].length() < 16 ? lines[i] : lines[i].substring(0, 15));
}
sign.update();
sign.update(true);
}
}