Hello there,
I just noticed that one of my inventory management scripts is not working anymore
What my script did, was to check if there are two items of the same type/subtype combination within one cargo container and if so to stack them into one.
To prevent the script from doing nonesense I casted the items content to
Sandbox.Common.ObjectBuilders.MyObjectBuilder_PhysicalObject and called the CanStack method on it to figure out if the item is actually stackable
But sadly, it no...
Sandbox.Common.ObjectBuilders.MyObjectBuilder_PhysicalObject forbidden in 1.116.010
I just noticed that one of my inventory management scripts is not working anymore
What my script did, was to check if there are two items of the same type/subtype combination within one cargo container and if so to stack them into one.
To prevent the script from doing nonesense I casted the items content to
Sandbox.Common.ObjectBuilders.MyObjectBuilder_PhysicalObject and called the CanStack method on it to figure out if the item is actually stackable
But sadly, it no...
Sandbox.Common.ObjectBuilders.MyObjectBuilder_PhysicalObject forbidden in 1.116.010