From 370f456530c14b9ee7f953d6a8943ccad2d26c8a Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Sat, 13 May 2023 14:32:02 +0200 Subject: [PATCH] Properly set limits on Essence Fixes client crashes caused by creating 50000 blocks --- modules/movers.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/movers.lua b/modules/movers.lua index f8f0f08f..c90efef4 100755 --- a/modules/movers.lua +++ b/modules/movers.lua @@ -42,7 +42,7 @@ local function createConfigEnv() end, UnitHealthMax = function(unit) return 50000 end, UnitPower = function(unit, powerType) - if( powerType == Enum.PowerType.HolyPower or powerType == Enum.PowerType.SoulShards ) then + if( powerType == Enum.PowerType.HolyPower or powerType == Enum.PowerType.SoulShards or powerType == Enum.PowerType.Essence ) then return 3 elseif( powerType == Enum.PowerType.Chi) then return 4 @@ -67,7 +67,7 @@ local function createConfigEnv() elseif( powerType == Enum.PowerType.Focus ) then return 120 elseif( powerType == Enum.PowerType.ComboPoints or powerType == Enum.PowerType.SoulShards or powerType == Enum.PowerType.HolyPower - or powerType == Enum.PowerType.Chi ) then + or powerType == Enum.PowerType.Chi or powerType == Enum.PowerType.Essence ) then return 5 elseif( powerType == Enum.PowerType.Runes ) then return 6