1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 20:16:13 +01:00

Fixed IndexOutOfBoundsException on signs update

This commit is contained in:
Thomas Worm 2019-04-02 21:49:13 +02:00
parent 9436fae564
commit e957436a01

View File

@ -175,6 +175,8 @@ public class SignUtil {
if (!UpdateHead(sign, PlayerList.get(0).getPlayerName(), timelapse))
timelapse--;
} else {
if (one.GetNumber() > PlayerList.size())
continue;
TopList pl = PlayerList.get(one.GetNumber() - 1);
String PlayerName = pl.getPlayerName();
if (PlayerName.length() > 8) {