mirror of
https://github.com/songoda/EpicFarming.git
synced 2024-11-30 14:33:28 +01:00
Fixed a npe with boosting.
This commit is contained in:
parent
8ec97dca42
commit
780892ae66
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user