From a4f6098704a04b608576a2d9ed57e523257509c8 Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Tue, 20 Jul 2021 19:05:32 +0200 Subject: [PATCH] Spindown dice results no longer get calculated for TMTrainer items --- eid_modifiers.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eid_modifiers.lua b/eid_modifiers.lua index ebfb8f3c..a7e02ef4 100644 --- a/eid_modifiers.lua +++ b/eid_modifiers.lua @@ -78,8 +78,8 @@ local game = Game() spinnedID = EID:getSpindownResult(refID) end refID = spinnedID - if spinnedID > 0 then - EID:appendToDescription(descObj, "{{Collectible"..spinnedID.."}}") + if refID > 0 and refID < 4294960000 then + EID:appendToDescription(descObj, "{{Collectible"..refID.."}}") if i ~= EID.Config["SpindownDiceResults"] then EID:appendToDescription(descObj, " ->") end