mirror of
https://github.com/Auxilor/EcoMobs.git
synced 2025-12-28 03:19:07 +00:00
Fixed /ebspawn
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user