Have you tried to sort it? A null pointer is caused by something being null and you trying to do something with it, so I could guess maybe the...
I couldn't resist.
Find out where they live, then go to the local post office and drop off the package they will deliver it to them within 5 working days.
No just send player.sendMessage("Amount: " amount); after the amount++
int amount = 0; for(Class variable : list){ if(variable.contains(playerVariable){ amount ++; } }
Just curious but under what circumstances would it throw that exception?
True, just my way consumes less space. :P
Or; String message = StringUtil.join(args, ' ', 0, args.length); join(Object[] listofstuff, char seperator, int startIndex, int endIndex);
I knew I wasn't far off :3
Make an instance of the main class s0mething like; private Plugin plugin; public *MainClass*(Plugin instance){ plugin = instance; } I think...
It is deprecated just to let developers know that UUIDs are going to take effect soon making the long term storing of player names a bad idea...
Magma cream isn't a projectile. I think you mean Fireball and you can use this to get the block it hit; BlockIterator iterator = new...
No I fixed your { and }.
public boolean onCommand(CommandSender cs, Command cmd, String s, String[] args){ Player player = (Player) cs; if (cs instanceof Player) { if...
hashmapvarible.get(key); Asuming your hashmap is simerlar to this; HashMap<UUID, Integer> money = new HashMap<UUID, Integer>(); But first check;...
?
*Class or subclass value* *variable* = Collections.max(hashmap.values);
My bad. #BlameMyPhone
@Override public void onEnable(){ getLogger().info("JumboChest has been enabled!");...
Thanks, I shortened them, I will test it soon. Result: That was the problem, not sure which one but one of either the scores or display name of a...
Separate names with a comma.