Ok so I have spent a couple of weeks now trying to firgure out why this won't work. The lines with ** show up as java.lang.NullPointerException...
The Fireball wait below it does not come up with an error and Ideas on fixing it?
This is the error message 22:27:12 [SEVERE] Could not load 'plugins\NationSeige v1.9.jar' in folder 'plugi ns'...
okay so when i try to run my plugin this line: public final BukkitListener Listener = new BukkitListener(this); and this line: long tntdiff =...
okay with this there is an error on diff. are you sure this is the correct phrase to put there?
okay but when i put this in i get an error on the s. and what part checks if the player has waited long enough?
how?
okay but how would i save to a player then check if that player has waited long enough?
okay sorr if this bothers you but how? I have not saved the timer before.
ok so basiclly I am trying to make it so that once you right click with wooden sword you get a "cooldown" for the "spell" that was activated. I...
if(p.getInventory().getItemInHand().getType() == Material.FLINT_AND_STEEL) { if(this.fireball != null){ Location loc =...
okay I have that when you right click a block with bow you get stuff for an "archer" class but I am wanting to add a enchantment to the bow you...
package me.GavinStPierre.NationSeige; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Material; import...
did not work did not work EDIT by Moderator: merged posts, please use the edit button instead of double posting.
public void onBlockBreak(BlockBreakEvent event) { if (event.getBlock().getType().EMERALD_BLOCK != null){...
Okay so i have a countdown in the main file and i am trying to reference and add time to it in a blocklistener. Is this possible? and if so how?...
okay but how would you do a regen potion
I trying to make it so that when you right click with a diamond hoe you get full diamond armor put on you. Any ideas?
well either way the armor nor items in hand where removed
even on the stuff like .get helmet? becuase it hung around to
Separate names with a comma.