Ofcourse... Think :/ Your code will only run if your helmet is an iron block.
did you try to update inventory? After everything
make sure the getHelmet is not null and check if the helmet type is not air, then check if its iron block
Not trying to flame or anything but....
a cpu from 1984 can run 10million Instructions per second.
iterating through a list of at most 100...
What you justdid there with the Gangs... That's called polymorphism
the blocklist is the map,
Block b : HashMapName.keySet()
and you can find tutorials how to add shiet to chests online :P
run this task every second:
for(Block b: blocklist)
do something productive with b...
if block.getType() == Material.CHEST
it's a chest
Chest c = block.getState();
then do shiet with c :P
Do you know what Debug means?
If the Item has no itemmeta that will return a NPE in the console
Run a task at the onEnable, to repeat itself every second,
and iterate through all the blocks in the map, get their time and check if X Minutes...
Yes. Because thats easier than doing a System.out.println("1"); after each method... Jesus...
What if there's no error?
What if there's just silence?
you do a command but nothing happens?No sound, no msg, nothing...
That's the point of...
Nah it wouldn't.
First you need to get the yaw of attacker and yaw of attackED.
check if their difference is within a value(recommended before)...
Separate names with a comma.