mirror of
https://github.com/Flowsqy/ShopChest.git
synced 2024-11-14 23:15:10 +01:00
Added missing null check for callback
This commit is contained in:
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user