mirror of
https://github.com/songoda/EpicFarming.git
synced 2024-12-02 15: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
|
// Adding in Boosts
|
||||||
if (storage.containsGroup("boosts")) {
|
if (storage.containsGroup("boosts")) {
|
||||||
for (StorageRow row : storage.getRowsByGroup("boosts")) {
|
for (StorageRow row : storage.getRowsByGroup("boosts")) {
|
||||||
if (row.getItems().get("uuid").asObject() != null)
|
if (row.getItems().get("player").asObject() != null)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
BoostData boostData = new BoostData(
|
BoostData boostData = new BoostData(
|
||||||
|
Loading…
Reference in New Issue
Block a user