diff options
author | sfence <sfence.software@gmail.com> | 2021-06-20 17:21:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-20 17:21:35 +0200 |
commit | b10091be9b6b6c74a170b9444f856f83dd3fe952 (patch) | |
tree | c806e74b870be70fafe2323858bbd5bd4071f399 /builtin | |
parent | 1805775f3d54043c3b1e75e47b9b85e3b12bab00 (diff) | |
download | minetest-b10091be9b6b6c74a170b9444f856f83dd3fe952.tar.gz minetest-b10091be9b6b6c74a170b9444f856f83dd3fe952.tar.bz2 minetest-b10091be9b6b6c74a170b9444f856f83dd3fe952.zip |
Add min_y and max_y checks for Active Block Modifiers (ABM) (#11333)
This check can be used by ABM to reduce CPU usage.
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/game/features.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/game/features.lua b/builtin/game/features.lua index 8f0604448..b50a05989 100644 --- a/builtin/game/features.lua +++ b/builtin/game/features.lua @@ -20,6 +20,7 @@ core.features = { direct_velocity_on_players = true, use_texture_alpha_string_modes = true, degrotate_240_steps = true, + abm_min_max_y = true, } function core.has_feature(arg) |