That worked perfectly, thank you very much! :D
@Rocoty It happens with all entities, not just the ItemFrame. I'm actually running a build of Spigot.
@Rocoty It only happens with that event. I did take a look to see if I had overwritten any other plugins accidentally by looking at the amount of...
Correct, I see all the Command Line prints twice. Including the player raw messages that are sent. @Rocoty This only started happening recently...
package com.bluemond.bookwarp; import java.util.ArrayList; import java.util.logging.Logger; import org.bukkit.plugin.PluginManager; import...
package com.bluemond.bookwarp; import java.util.ArrayList; import org.bukkit.ChatColor; import org.bukkit.Material; import...
@Rocoty Here's the code @EventHandler public void onRightClick(PlayerInteractEntityEvent event){ Entity entity =...
Oh, wow.. that's a good idea.. Thanks, @Burnett! I am using the PlayerInteractEntityEvent to use with ItemFrames. Everytime I rightclick an...
Alright.. so that actually didn't work because an ItemFrame is an entity so I switched it to a PlayerInteractEntityEvent and redid some code and...
What I'm looking to do is when someone puts an item in a frame, I want to check what that item is. This is what I have so far.. public void...
Well I couldn't figure it out but I found another way. Even though split() wouldn't recognize any of the things I've tried, for some reason...
The code: @EventHandler public void onBookEdit(PlayerEditBookEvent event){ BookMeta book = event.getNewBookMeta();...
@Webbeh hmmmm.. I'll try it @Webbeh No dice.. @Webbeh but it's outputting like this this\nis\na\npage shouldn't it be using those carriages to...
@Webbeh Already tried it.. Same result.
Not sure what's going on.. String page = book.getPage(1); String[] pageLines = page.split("\n"); System.out.println(pageLines[0]); this outputs:...
Separate names with a comma.