expressobits / inventory-system

Modular inventory system for godot 4 with nodes, compatible with multiplayer, separate logic from the UI, Using items as separate resources.
MIT License
407 stars 26 forks source link

I can't set up a workbench! #101

Closed KageKao666 closed 7 months ago

KageKao666 commented 7 months ago

In the normal scene everything is fine, but in the multiplayer scene when I set up the workbench an error occurs:

Invalid type in function 'place_item'. The Object-derived class of argument 1 (Resource (InventoryItem)) is not a subclass of the expected argument class.

scriptsengineer commented 7 months ago

In the normal scene everything is fine, but in the multiplayer scene when I set up the workbench an error occurs:

Invalid type in function 'place_item'. The Object-derived class of argument 1 (Resource (InventoryItem)) is not a subclass of the expected argument class.

I fixed this, the problem was the use of dropped items logic for place item spawner, now there is a new spawner only for placed items.