Edit I Fixed It Seems e.getBlock().setType(Material.AIR); was causing my problem not sure why thanks anyway
where have I cancelled the event ?
Hey I'm Currently working on BlockFortune Plugin which works perfectly fine other than item durability when mining a block that is naturally...
I just cannot seem to fix everything I try I come across another error
what do call it then and a player had died
I have been trying to get "the killers" to display when you type /wanted here is my code import java.util.ArrayList; import org.bukkit.ChatColor;...
My List Is Empty ? How shouldn't wanted.add(event.getEntity().getKiller().getName()) ; add the killers ?
Hey again I resoleved my last issue now I have this import java.util.ArrayList; import java.util.Arrays; import org.bukkit.ChatColor; import...
If Your Asking For Credit and Want Ownership of part of the plugin sure !
I don't suppose you cold show me what you mean ?
If I Cast Then first if(entity.getType() == EntityType.PLAYER) { it would check if its a player first right ?
:D:/ Yeh Sure Its Not Done but It Works Fine !? import java.util.ArrayList; import java.util.List; import org.bukkit.Bukkit; import...
I have 3 classes a main(TrustedCops) a CommandClass(CopCommand) and TheClass I Posted Above (WantedList) here is my main import org.bukkit.Bukkit;...
I need help with EntityDeathEvent this is what I have import org.bukkit.Bukkit; import org.bukkit.entity.Player; import...
@ximsilentx The player becomes wanted when he kills another player and when wanted player gets killed by lets say cop his wanted lv is removed and...
Separate names with a comma.