diff --git a/core/plugin.lua b/core/plugin.lua index 12f0e8d..4274c04 100644 --- a/core/plugin.lua +++ b/core/plugin.lua @@ -201,6 +201,7 @@ function plugin.PrepareEnvironment(plugin_id) local Env = {} Env.table = DeepCopy(require('table')) Env.string = DeepCopy(require('string')) + Env.math = DeepCopy(require('math')) Env.json = DeepCopy(require('json')) Env.DBI = DeepCopy(require('DBI')) Env.redis = DeepCopy(require('redis'))