Why typecast? getPlayer() returns a player and getBlock() returns a block.
You can always do loadbefore: [pluginname] in your plugin.yml.
Oh, didn't see that. Nevermind.
You need to reference craftbukkit.
Wrong place.
Or just do a for(String s: args);
System.out.println("s"==new String("s")) will print false.
Then add .getY() to the end....
It depends on the case. Without going into java's string pool, I can tell you that you should be using .equals().
Yes, but getClickedBlock() could return null if someone clicks the air, then getTypeId() would throw a NPE.
I'd use a stringbuilder for that. StringBuilder sb = new StringBuilder(); sb.append("/").append(cmd.getName()); for(String s: args)...
Check to make sure a block got clicked, and check to make sure you're referencing bukkit and not craftbukkit.
Instead of referencing it like you would with bukkit or another plugin, you need to include it in your jar.
If you use a plugin like multiinv, that plugin serializes your inventory every time you change to another (switching GM, going into a different...
Use PlayerCommandPreprocessEvent
Make sure TagAPI is on the server and in your referenced libraries
Pig pig = (Pig)Bukkit.getWorld("World").spawnEntity(SignListener.gameLocation, EntityType.PIG); pig.setSaddled(true);
StringBuilder
Then check both right click air AND right click block, then check the player's item in hand. Not clicked block.
Separate names with a comma.