Your problem is the use of variables, you change the variable, try doing a copy of it and then modify
Hello everyone, i would to ask a question, this is my code: package org.salex.pvpsword.events; import org.bukkit.entity.Player; import...
Hi everyone, I need a hand in understanding why this code returns a nullPointer even though it doesn't seem like it can this the errror: Caused...
@JavaNoob You can use PlayerInteractEvent and when right click, do your job: public InteractPlayerListener implements Listener{ public void...
@R3YGamer This is just an hint that maybe can help you: package org.mandale.tokenseconomy.commands; import java.util.ArrayList; import...
@pixelrider2000 Can you post the code with hastebin.com?
private String perm = "killer.cow"; @EventHandler public void onDamage(EntityDamageByEntityEvent e) { Player p = (Player)...
hi everyone I would like to know how to implement the worldguard API so that the 5x5x5 that I create using a pickaxe does not break even the part...
then the result was much easier than expected (I try in the loop if there are bedrock(how you telled)) and that's it, sorry for the waste of time
I still don't understand, could you make an example?
@timtower ok, I think I understand what you mean, but in any case how do I understand "that the new block" has bedrock. let me explain better,...
@timtower and how can i check if there is bedrock? p.s I want to find out if there are bedrock blocks in the block and if there aren't break them...
hello to everyone, I would like to know how not to break the bedrock, I have already povato in various ways but without luck, so I ask for help to...
Separate names with a comma.