`getBlockAt(int, int, int)` gets the block using absolute points. You need to get the block relative to the player using `getRelative(int, int,...
CdoingBaddie Your logic is flawed. You're cancelling the command if they're not in admin mode. Don't forget to check whether the command is...
waxman57 'arenas' hasn't been initialised
Alternatively, you could negate 'bukkit.command.plugins' and 'bukkit.command.help'. Source
PHILLIPS_71 Think about where you have it, and where it should be...
PHILLIPS_71 You aren't updating the player's old chunk. oldChunk.put(player.getName(), new Integer[] {chunk.getX(), chunk.getZ()});
You haven't registered the events
Thanks mate, hopefully it'll get fixed soon...
Hey, So subscribed notifications work well and all, but I'm receiving emails when I comment on things I'm subscribed to - replying to tickets...
PHILLIPS_71 Oh I see it now, your class is called Chunk.
PHILLIPS_71 Are you importing Bukkit's chunk or Minecraft's chunk?
PHILLIPS_71 I'm using the config file to store the chunk names instead of a map. public boolean onCommand(...) { // TODO: pre-command...
euller12 for(int i = 0; i < 9; i++) { ItemStack item = player.getInventory().getItem(i); if(item == null) continue; // Do something...
Separate names with a comma.