Project-Sloth / ps-weedplanting

Project Sloth Weed Script
https://www.discord.gg/projectsloth
GNU General Public License v3.0
51 stars 43 forks source link

Unable to destroy plants as active police #10

Closed Nathant995 closed 1 year ago

Nathant995 commented 1 year ago

When I attempt to remove plants I get this error;

Invalid Lua type in __data handling line 417 in clientlua of this resource.

DB is connected and is saving plant meta so unsure what's causing this.

WildlandsDev commented 1 year ago

further info it seems the error is related to this line of the police destroy function;

local netId = NetworkGetNetworkIdFromEntity(entity)