Compare commits
No commits in common. "0ea2d4958b4d589affdda546ed2ba02900c2f75b" and "3abf5a95e8c64a43ae6b86bbde446cea5c35c6dd" have entirely different histories.
0ea2d4958b
...
3abf5a95e8
@ -3,7 +3,6 @@ package eu.mhsl.craftattack.spawn.appliances.acInform;
|
||||
import eu.mhsl.craftattack.spawn.appliance.ApplianceCommand;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class AcInformCommand extends ApplianceCommand<AcInform> {
|
||||
@ -13,7 +12,7 @@ public class AcInformCommand extends ApplianceCommand<AcInform> {
|
||||
|
||||
@Override
|
||||
protected void execute(@NotNull CommandSender sender, @NotNull Command command, @NotNull String label, @NotNull String[] args) throws Exception {
|
||||
if(sender instanceof Player) throw new ApplianceCommand.Error("Dieser Command ist nicht für Spieler!");
|
||||
// if(sender instanceof Player) throw new ApplianceCommand.Error("Dieser Command ist nicht für Spieler!");
|
||||
getAppliance().processCommand(args);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user