@nverdier Sigh... Please quit antagonizing my posts. If you aren't going to help me push a bat to where I need it to be, please don't post...
@nverdier lol, internet :P At least it wasn't like extreme troll language. This thread should be marked solved soon, probably wouldn't flood the...
lol @ documentation. second lol @ your quote not being on the page when I posted that :P ggwp, m9
It can be null :p An int can't be null, but an Integer can. See here: http://stackoverflow.com/questions/2254435/can-an-int-be-null-in-java...
Do this. List<Player> players = new ArrayList<Player>(); for (Player player : Bukkit.getOnlinePlayers()) {...
Add a debug message to the "else" statement to see if that is what is triggering.
for(Player p : Bukkit.getServer().getOnlinePlayers()){ Location l = p.getLocation(); if(l.distance(LOCATION_TO_DISTANCE_FROM) > 10){...
Yeah, I am adding the custom bat in. MortalBat b = new MortalBat(world); world.addEntity(b, SpawnReason.CUSTOM); @teej107 Do you know...
You are trying to set a Material from a String, which is making "mat" null.
For the past, I don't know, week or so, I have been struggling to get bats to fly towards a player. I have tried writing my own path finding...
Try <String, Player>
Just save the Lore in an ArrayList
You also have to have the JAR running on your server. And try using depend in your plugin.yml
Rename the class you are storing the inveories in to CustomInv and then before onEnable put CustomInv c = new CustomInv(); Then to reference the...
@BurnerDiamond Yeah, just in the inventories class, modify the code I posted for your needs. Then when you want to open it use...
Separate names with a comma.