"refuse" is not working
DopeMnX opened this issue ยท 1 comments
Minecraft Version
1.21.4
Mod Loader
NeoForge
Mod Version
waystones-neoforge-1.21.4-21.4.1
Describe the Issue
Hi, I'm trying to disable interdimensional warps in the config file, but it's not working. The config file always gets reset. My warp requirements are set like this:
warpRequirements = ["[is_not_interdimensional] scaled_add_xp_cost(distance, 0.01)", "[is_interdimensional] refuse("not allowed")", "[source_is_warp_plate] multiply_xp_cost(0)", "[target_is_global] multiply_xp_cost(0)", "min_xp_cost(0)", "max_xp_cost(27)", "[source_is_inventory_button] add_cooldown(inventory_button, 300)"]
, where is the mistake?
Logs
nothing
Do you use any performance-enhancing mods (e.g. OptiFine) or custom server distributions (e.g. SpongeForge or Arclight)?
No