mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-21 06:05:45 +08:00
More entities fixed
This commit is contained in:
@@ -9,6 +9,7 @@ export default class IntegerEntity extends NumberEntity {
|
||||
return super.value
|
||||
}
|
||||
set value(value) {
|
||||
value = Math.trunc(value)
|
||||
if (value >= 1 << 31 && value < -(1 << 31)) {
|
||||
value = Math.floor(value)
|
||||
super.value = value
|
||||
|
||||
Reference in New Issue
Block a user