Altering offline shops loading to continue on problems.

This commit is contained in:
MobiusDev
2016-07-31 14:25:58 +00:00
parent bba142bba4
commit 96fdfb8381

View File

@ -242,7 +242,8 @@ public class OfflineTradersTable
{
if (player.getBuyList().addItemByItemId(items.getInt(2), items.getLong(3), items.getLong(4)) == null)
{
throw new NullPointerException();
continue;
// throw new NullPointerException();
}
}
player.getBuyList().setTitle(rs.getString("title"));
@ -264,7 +265,8 @@ public class OfflineTradersTable
{
if (player.getSellList().addItem(items.getInt(2), items.getLong(3), items.getLong(4)) == null)
{
throw new NullPointerException();
continue;
// throw new NullPointerException();
}
}
}