slasheh Something like if (damager.getItemInHand().getType().equals(Material.DIAMOND_SWORD)) { if...
slasheh plugin is probs null OPSword(OPWeapons instance) { plugin = instance; }
A good method i learned to do this is to use pictures with the code in it, instead of copy-pasta code. :P Forces people to type the code.
Poor write-up. 3/10
do it like this: pm.registerEvents(yourListenerClass, this);
PlayerInteractEvent should work for both of these. use getClickedBlock to check if block was button. And event.getAction should work for pressure...
what is the error? And show your isMat method.
Quote from someone who fixed this for me. Basically, just use is30 = addGlow(is30) P.S. im pretty sure you can just use on itemstack outside of...
No ones gonna make this, first of all. It is possible, but no. Bukkit does not support offline mode, there not gonna remove it cause why should...
how about u contact the author, he last updated it on dec 3. Plus he was last loggged in 2 hours ago. Why make a new one when the old author can...
try changing the 1 to 3, i think 3 is the byte for playerhead. 1 is skeleton i think. if its not that then try changing the 1 to a number between...
just delete the import, hover your mosue over craftplayer, click import org.blah blah blah.entity. the reson being is there version number in the...
doomboy00 OMG i love you, that worked. something so simple fixed it like that. :D:D:D
tested again with the new code and again didnt work on sword. am i doing something wrong ? :D
stirante or anyone else. Ive been trying to add the enchant glow to a block, but it doesnt show up. i also tested it with a d sword, no work....
i sent a pm. :D
u should put in the hangingevents. they replaced the painting events.
yes.
I don't have a bukkitDev up yet as my project is still in development. If your still doing this id love a jenkins. My plugin will be named Sabotage.
First, never put code on same line of if statement, makes me cringe i really hope that wa just for testing. Second, for more do. [syntax=java]...
Separate names with a comma.