mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-18 08:35:52 +01:00
Mark BossShop signs as erroneous if plugin is not available
This commit is contained in:
parent
cf557a61e2
commit
385d32a181
@ -67,7 +67,7 @@ public class BossShopSign extends DSign {
|
||||
|
||||
@Override
|
||||
public void onInit() {
|
||||
if (bossShop.getAPI().getShop(lines[1]) == null) {
|
||||
if (bossShop == null || bossShop.getAPI().getShop(lines[1]) == null) {
|
||||
markAsErroneous();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user