First of all, I suggest not using player objects in hashmaps because they can lead to memory leaks. Instead, either use the player's UUID, or the...
I'll try that!
I remember making the snowball invisible without destroying it one time, but I can't remember the packet name. I believe it was something close...
Because there is no other way to make a snowball invisible without using packets :/
Is there any way that I can make a snowball appear again, after dissapearing. Here's the code i'm using: for (Player player :...
I recently made a post about a scoreboard flashing, and I resolved it in a way, but now it's coming back again. I decided to redo my code for a...
Team team = board.registerNewTeam("stats"); I just looked through the javadocs, and I think I found something that may work, which is:...
I've been stuck with this same problem for quite a bit now, and I haven't gotten it to work. My problem is with scoreboard teams. I'm trying to...
Please show your full code, as we won't be able to help you without the full class. P.S nice debug messages...
PerezHD Just use a hashmap, when a player dies, save their inventory contents, and when they respawn, get the info from the hashmap and give it to...
chasechocolate, it doesn't seem to be working for me... It'll open for a split second and immediately close again ;/ EDIT: Hmm... It seems that...
remove the + 1 on line 27. In java arrays, everything starts at 0, not 1.
I'm not sure about this, but what about the invisibility you gave it? guangong4 EDIT: But wait... It has armor. I honestly don't know then :(
http://lmgtfy.com/?q=basic+java+tutorial
remove the bracket on line 58, and add one after String s = sb.toString()
You don't use args[/i] when you send the message, you use 's'.
oh... well that changes things... The problem is you're not actually doing anything with the StringBuilder.
You put a /i, you need to put just an i. Also, you never actually did anything with the stringbuilder...
Can you update your code so I can see what is looks like with the StringBuilder in it? Edit: Maybe change sb.append(args) to sb.append(args[i])
It's a StringBuilder. Create one like this: StringBuilder sb = new StringBuilder(""); Ninja'd me ;3 EDIT by Moderator: merged posts, please...
Separate names with a comma.