1
0
mirror of https://github.com/amalthea-mc/ShopChest.git synced 2025-03-11 23:44:10 +00:00

Added missing null check for callback

This commit is contained in:
Eric 2017-02-10 18:13:16 +01:00
parent 1e38edc7a0
commit dfafa2930d

@ -226,7 +226,7 @@ public class ShopUtils {
@Override
public void onError(Throwable throwable) {
callback.callSyncError(throwable);
if (callback != null) callback.callSyncError(throwable);
plugin.debug("Error while adding shops");
plugin.debug(throwable);
}