public class FactionRenameEvent extends FactionPlayerEvent implements org.bukkit.event.Cancellable
fPlayer
Constructor and Description |
---|
FactionRenameEvent(FPlayer sender,
java.lang.String newTag) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFactionTag()
Get the new faction tag.
|
java.lang.String |
getOldFactionTag()
Deprecated.
use getFaction().getTag() instead.
|
org.bukkit.entity.Player |
getPlayer()
Deprecated.
use getfPlayer().getPlayer() instead.
|
boolean |
isCancelled() |
void |
setCancelled(boolean c) |
getfPlayer
getFaction, getHandlerList, getHandlers
public FactionRenameEvent(FPlayer sender, java.lang.String newTag)
@Deprecated public org.bukkit.entity.Player getPlayer()
@Deprecated public java.lang.String getOldFactionTag()
public java.lang.String getFactionTag()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean c)
setCancelled
in interface org.bukkit.event.Cancellable