mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-17 03:15:35 -04:00
entity data: correctly remove has_
prefix
This commit is contained in:
parent
bd268034bf
commit
f666df8d69
@ -76,7 +76,7 @@ class EntityTarget(
|
||||
continue
|
||||
}
|
||||
method.isAccessible = true
|
||||
val name = method.name.toSnakeCase().removePrefix("get_").removePrefix("is_").removePrefix("is_")
|
||||
val name = method.name.toSnakeCase().removePrefix("get_").removePrefix("is_").removePrefix("has_")
|
||||
if (values.containsKey(name)) {
|
||||
continue
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user