mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-18 11:54:59 -04:00
entity data: correctly remove has_
prefix
This commit is contained in:
parent
bd268034bf
commit
f666df8d69
@ -76,7 +76,7 @@ class EntityTarget(
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
method.isAccessible = true
|
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)) {
|
if (values.containsKey(name)) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user