I need more help. I am new and bad at this.

U

/u/Thezachguy

Guest
Member
So basically, what I want is whenever a player right clicks an entity with a name of 'saw', a GUI is opened. Here's my code:

@ EventHandler
public void openGuiEvent(PlayerInteractAtEntityEvent e) {
if (e.getRightClicked().getCustomName() == "saw") {
openNewGui(e.getPlayer());
}
}

But when I go into the game and test it out, it doesn't seem to work at all. What did I do wrong?

submitted by /u/Thezachguy
[link] [comments]

Continue reading...

free plugins
minecraft paid for free
spigotmc
SpigotMC
free minecraft paid plugins
free minecraft plugins
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
minecraft plugins
xenforo leaked
xenforo for free
xenforo addons
 
BlackSpigot General Chat
Rules Help Users
    RealNotSound @ RealNotSound: hello
    Top