SHOW:
|
|
- or go back to the newest paste.
1 | - | package me.nique.plugins.cvsboom; |
1 | + | 2012-11-11 12:09:39 [INFO] xNiiQuee issued server command: /boom |
2 | - | |
2 | + | 2012-11-11 12:09:39 [SEVERE] null |
3 | - | import org.bukkit.command.Command; |
3 | + | org.bukkit.command.CommandException: Unhandled exception executing command 'boom' in plugin CvS-Boom v1.3 |
4 | - | import org.bukkit.command.CommandSender; |
4 | + | at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) |
5 | - | import org.bukkit.entity.Player; |
5 | + | at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:184) |
6 | - | import org.bukkit.plugin.java.JavaPlugin; |
6 | + | at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:502) |
7 | - | |
7 | + | at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:911) |
8 | - | public class Cvsboom extends JavaPlugin{ |
8 | + | at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:824) |
9 | - | public void onEnable(){ |
9 | + | at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:806) |
10 | - | getLogger().info("Boom Enabled"); |
10 | + | at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) |
11 | - | } |
11 | + | at net.minecraft.server.NetworkManager.b(NetworkManager.java:282) |
12 | - | |
12 | + | at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:111) |
13 | - | public void onDisable(){ |
13 | + | at net.minecraft.server.ServerConnection.b(SourceFile:35) |
14 | - | getLogger().info("Boom Disabled"); |
14 | + | at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) |
15 | - | } |
15 | + | at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:569) |
16 | - | |
16 | + | at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:215) |
17 | - | public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args){ |
17 | + | at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:486) |
18 | - | if(cmd.getName().equalsIgnoreCase("boom")){ |
18 | + | at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:419) |
19 | - | float explosionPower = 9F; |
19 | + | at net.minecraft.server.ThreadServerApplication.run(SourceFile:818) |
20 | - | Player target = sender.getServer().getPlayer(args[0]); |
20 | + | Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 |
21 | - | target.getWorld().createExplosion(target.getLocation(), explosionPower); |
21 | + | at me.nique.plugins.cvsboom.Cvsboom.onCommand(Cvsboom.java:20) |
22 | - | target.setHealth(0); |
22 | + | at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) |
23 | - | } |
23 | + | ... 15 more |