Added enum data handling
Also committed an older fix
This commit is contained in:
parent
5b63ed08ed
commit
900f815e26
2 changed files with 3 additions and 3 deletions
|
@ -34,11 +34,11 @@ public class ChatPlayer extends TBMCPlayer {
|
|||
}
|
||||
|
||||
public FlairStates getFlairState() {
|
||||
return getData();
|
||||
return getEnumData(FlairStates.class);
|
||||
}
|
||||
|
||||
public void setFlairState(FlairStates state) {
|
||||
setData(state);
|
||||
setEnumData(state);
|
||||
}
|
||||
|
||||
public int getFCount() {
|
||||
|
|
|
@ -24,7 +24,7 @@ commands:
|
|||
yeehaw:
|
||||
description: This command makes you yeehaw.
|
||||
author: NorbiPeti
|
||||
depend: [Essentials, Towny, Minigames, Votifier, WorldGuard, WorldEdit, ProtocolLib, Vault, ButtonPluginBucket]
|
||||
depend: [Essentials, Towny, Minigames, Votifier, WorldGuard, WorldEdit, ProtocolLib, Vault, ButtonCore]
|
||||
permissions:
|
||||
tbmc.admin:
|
||||
description: Gives access to /un- commands and /u admin commands
|
||||
|
|
Loading…
Reference in a new issue