in klei"s code
function PlantRegistryData:Load()
TheSim:GetPersistentString("plantregistry", function(load_success, data)
if load_success and data ~= nil then
local success, plant_registry = RunInSandbox(data)
if success and plant_registry then
self.plants = plant_registry.plants or {}
self.fertilizers = plant_registry.fertilizers or {}
self.pictures = plant_registry.pictures or {}
self.filters = plant_registry.filters or {}
self.last_selected_card = plant_registry.last_selected_card or {}
else
print("Failed to load the plantregistry!", plant_registry)
end
end
end)
end
plantregistry allown moder run scripts without any mod enable
now i found someone are using it spawn invisiable pumbking for player
plantregistry code should be restricted!
Steps to Reproduce
plantregistry file should be restricted
-
2
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now