mirror of
https://github.com/plexusorg/plugin-yml.git
synced 2025-01-03 05:52:16 +00:00
Add @JsonIgnore
to Bukkit command/permission name
This commit is contained in:
parent
fd34d311e1
commit
1065c6a3cb
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ class BukkitPluginDescription(project: Project) : Serializable {
|
|||
POSTWORLD
|
||||
}
|
||||
|
||||
data class Command(@Transient val name: String) : Serializable {
|
||||
data class Command(@Transient @JsonIgnore val name: String) : Serializable {
|
||||
var description: String? = null
|
||||
var aliases: List<String>? = null
|
||||
var permission: String? = null
|
||||
|
@ -73,7 +73,7 @@ class BukkitPluginDescription(project: Project) : Serializable {
|
|||
var usage: String? = null
|
||||
}
|
||||
|
||||
data class Permission(@Transient val name: String) : Serializable {
|
||||
data class Permission(@Transient @JsonIgnore val name: String) : Serializable {
|
||||
var description: String? = null
|
||||
var default: Default? = null
|
||||
var children: List<String>? = null
|
||||
|
|
Loading…
Reference in a new issue