I need some help, I am new.

U

/u/Thezachguy

Guest
Member
Ok, so, I want to open a GUI whenever I right-click an armor stand. This is my code:

@ EventHandler
public void openGuiEvent(PlayerInteractEvent e) {
if (e.getClickedBlock().getType() == Material.ARMOR_STAND) {
openNewGui(e.getPlayer());
}
}

I know that everything besides this works, (as I tested with PlayerDropItemEvent) but for some reason, I went into my server (yes, I restarted it first) and right AND left-clicked, and nothing happened. Can someone plz tell me what I've done wrong? Thanks! (btw, this is spigot 1.17.1)

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
    ghost314 @ ghost314: can someone please leak https://www.spigotmc.org/resources/ultra-economy.83374/
    Top