Skip to content
Snippets Groups Projects
Unverified Commit 430368cb authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

fix: can now successfully kill a mob without crashing the server.

parent 3261a795
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ public class ItemPojo implements Serializable, Item {
this.hasBeenWithPlayer = hasBeenWithPlayer;
this.maxUses = maxUses;
this.isDisposable = isDisposable;
this.validTimeOfDays = Lists.newArrayList(validTimeOfDays);
this.validTimeOfDays = ( validTimeOfDays == null ? Lists.newArrayList() : Lists.newArrayList(validTimeOfDays));
this.itemApplyStats = itemApplyStats;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment