Update grinder.lua

Copper compatibility fix