chunk loading issue fixed.

This commit is contained in:
Brianna O'Keefe 2019-01-19 14:21:04 -05:00
parent e8309f8766
commit c2eeaac007

View File

@ -308,7 +308,7 @@ public class EpicHoppersPlugin extends JavaPlugin implements EpicHoppers {
* Dump HopperManager to file.
*/
for (Hopper hopper : hopperManager.getHoppers().values()) {
if (hopper.getLevel() == null || hopper.getLocation() == null || hopper.getLocation().getChunk() == null)
if (hopper.getLevel() == null || hopper.getLocation() == null)
continue;
String locationStr = Methods.serializeLocation(hopper.getLocation());