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...
since you have not shown the class (and the error) I assume that it is not implemented the Listener or not put an @EventHandler before your event...
I think you have found one of the many versions of fastbridge (hack)
The error line is int code, that is how KarimAKL says sorry for the reply so late, but there is no autobox? i mean that it converts the int to...
sorry i'll post the error
good evening, I would like to know the reason for the return null (I state that the hashmap when I go out is not empty), I attach the two codes...
The it's only private class bot;?
Here my code in the command class: public class MCommands implements CommandExecutor{ private int randomcode; private DiscordEvent...
Separate names with a comma.