Well how are you storing it?
No I get it, I just don't think its being saved properly because something in that line is null and its probably the getRank variable returning null
it does?? OwO
Have you tried setting the players rank then relogging?
what is the player variable? and can you show us the whole code because without it its pretty hard to figure out whats wrong
if you really want you can use Bukkit.dispatchCommand() I think the function is otherwise I'm not sure I'd try messing with the numbers a lot and...
@360_ here is a method that might work: ArmorStand stand = (ArmorStand) player.getWorld().spawnEntity(player.getLocation(),...
Edit: Nevermind I just resorted to nms
bump maybe?
don't worry, I have actually tried things including this but for some reason doing this only does it for about onme tick then the dragon flies off...
So I was gonna do this at some point I've tried using nms but I'm kinda bad at nms so I was wondering is there any hacky/non nms way to control a...
it looks like you're setting it to the same thing twice why are you doing this? I've never worked with doors though
@IntelCorporation the only other thing I could think of is this: either something in your code is wrong or you're using tabs for formatting your...
it seems you don't take the descriptions seriously... this leads me to believe you probably didn't take your main: seriously. you have to use the...
I think your problem lies with the else { } statements. try:else if(p.getExpToLevel() < 10) instead of just regular else. same concept applies...
Separate names with a comma.