JWhy Thanks
Does anyone have a download link for the latest 1.7.10 API build (this one: http://dl.bukkit.org/downloads/bukkit/view/02660_1.7.10-R0.1/). At the...
fireblast709 Nice one. Good to know.
fireblast709 Are you sure it gives you the location of the other block? Sure, you can get the inventory, but I don't see anywhere in that...
ColonelHedgehog That might tell you if it is a double chest or not, but you would still have to search the 4 blocks around it to find where the...
I'm not sure if it's the most efficient way, but here's how I would do it. (Untested) Sign getSignOnAnyChest(Block chest) { BlockFace[] faces...
replace args.equals("reload") with: args.length > 0 && args[0].equals("reload")
I'd bet you aren't checking if the dropped item has a custom name or lore, I'm betting your plugin is just assuming it does, and when it doesn't...
Deltateamsoldier NullPointerExceptions are one of the easiest errors to diagnose yourself and this is a very good skill to learn. Take a read of...
Try making the getString method public.
RebzO1 Durability is stored as the data value so they are both the same thing really.
XXLuigiMario Ok, so where are you calling getString() and what output are you getting from it?
It would be helpful for you to post more of your code.
Player getPlayer(Player p) { for(Player player : Bukkit.getOnlinePlayers()) { if(player == p) { return player; }...
getType() returns just the Material, not the data. You need to check both seperately: if(i.getType() == Material.RAW_FISH && i.getData().getData()...
marwzoor Spot on.
Rocoty True
This would pick a random player from all online players. Random random = new Random(); int numPlayers = getServer().getOnlinePlayers().length; int...
Why are you creating an instance of AreaSize in a method inside AreaSize? This new instance will have null zero values for its variables....
try changing the return line to: return "" + size.length + " x " + size.height + " x " + size.width;
Separate names with a comma.