Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 903

Sandbox.Common.ObjectBuilders.MyObjectBuilder_PhysicalObject forbidden in 1.116.010

$
0
0
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

Viewing all articles
Browse latest Browse all 903

Trending Articles