Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

bukkit how to make a cancelable event

GunFireEvent e = GunFireEvent mới (súng, thợ hàn)
Bukkit.getPluginManager (). CallEvent (e);
if (! e.isCancelt ()) {
    súng.fire ();
}
Source by bukkit.org #
 
PREVIOUS NEXT
Tagged: #bukkit #cancelable #event
ADD COMMENT
Topic
Name
9+5 =