Fixed a npe with boosting.

This commit is contained in:
Brianna 2019-10-21 11:20:45 -04:00
parent 8ec97dca42
commit 780892ae66

View File

@ -160,7 +160,7 @@ public class EpicFarming extends SongodaPlugin {
// Adding in Boosts
if (storage.containsGroup("boosts")) {
for (StorageRow row : storage.getRowsByGroup("boosts")) {
if (row.getItems().get("uuid").asObject() != null)
if (row.getItems().get("player").asObject() != null)
continue;
BoostData boostData = new BoostData(