@mythbusterma Yes I am still having an issue. I think the issue is plugin is null. I tried calling a function from the main class that simply...
@Zombie_Striker Hmm, it didn't. I even changed my method of getting an instance of a main class to this and it doesn't work: private final...
@Zombie_Striker Huh, it looks like main is null. Weird because I am using it in other classes and it isn't causing an issue..
What I'm trying to do is get a configuration section and then add it to a set. For example: I want to get "item1" and "item2": kits: item1:...
I believe he is trying to separate each word in a chat message that was sent.
Try getting the chat message and then parsing it
Bump. This is my code now, still doesn't work. I tried doing a different potion effect and it does that, but won't work with regen. @EventHandler...
Alright, thank you for responding. I made those changes and it still only gives the default effects of a golden apple. EDIT: To answer your...
@InstanceofDeath no: http://prntscr.com/c8b4ei
? I put it to 200 ticks which is 10 seconds
Nope. Like I said in my original post, the debug message after the potion effect runs.
It is directly above it. I don't know why but it messed up when I pasted it here
Trying to give 10 seconds of regen 2 when a player eats a named golden apple, but it isn't working. @EventHandler public void...
public static void regenArena(CuboidSelection selection, Vector newPoint, BlockVector min, BlockVector max){ LocalWorld world =...
Been 24 hours since my last message. Bump
EDIT: I can't figure out how to delete messages. Please disregard what I said as I misread the javadocs for EventHandler
I think the problem is that you are setting KTHCORE_DMG to true every time EntityDamageByEntityEvent is called: public void...
@bcohen9685 public static void regenArena(CuboidSelection selection, Vector newPoint, BlockVector min, BlockVector max){...
I'm using the WorldEdit API to copy and paste a structure from location to another location. I have written what I believe should work, but it...
for loop (in seperate class from where buildGame is located): public void onLeave(PlayerQuitEvent e){ ArrayList<Player> players = new...
Separate names with a comma.