9
0
mirror of https://github.com/Auxilor/EcoMobs.git synced 2025-12-28 03:19:07 +00:00

Fixed /ebspawn

This commit is contained in:
Auxilor
2021-03-13 15:07:58 +00:00
parent b2e86ba3c0
commit 30fa08f0bf

View File

@@ -43,6 +43,11 @@ public class CommandEbspawn extends AbstractCommand {
EcoBoss boss = EcoBosses.getByName(bossName.toLowerCase());
if (boss == null) {
sender.sendMessage(this.getPlugin().getLangYml().getMessage("specify-boss"));
return;
}
Location location = null;
if (sender instanceof Player) {