mirror of
https://github.com/plexusorg/plugin-yml.git
synced 2024-12-22 08:15:08 +00:00
Drop default-permission from NukkitPluginDescription
This commit is contained in:
parent
0bfdf85389
commit
c7169d6ad0
1 changed files with 2 additions and 1 deletions
|
@ -32,6 +32,7 @@ import org.gradle.api.Project
|
|||
import java.io.Serializable
|
||||
|
||||
class NukkitPluginDescription(project: Project) : Serializable {
|
||||
|
||||
var name: String? = null
|
||||
var main: String? = null
|
||||
var version: String? = null
|
||||
|
@ -45,7 +46,6 @@ class NukkitPluginDescription(project: Project) : Serializable {
|
|||
@JsonProperty("softdepend") var softDepend: List<String>? = null
|
||||
@JsonProperty("loadbefore") var loadBefore: List<String>? = null
|
||||
var prefix: String? = null
|
||||
@JsonProperty("default-permission") var defaultPermission: Permission.Default? = null
|
||||
|
||||
// DSL provider for commands and permissions (not serialized)
|
||||
@Transient @JsonIgnore
|
||||
|
@ -103,4 +103,5 @@ class NukkitPluginDescription(project: Project) : Serializable {
|
|||
@JsonProperty("!op") NOT_OP
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue