Posted March 1, 201411 yr Hey Guys! I created some Items which use the damage value for different sub items. (0 for Iron type, 1 for Gold type etc.) The problem is now: If I want to collect an Item with type 0 which is laying on the floor and I have one Item of type 1 in my Inventory, the collected Item is added to this stack and is now type 1 too. Whats wrong and how can I fix this? http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
March 1, 201411 yr Did you add "setHasSubtypes(true);" ? If you did, then post your code or we're just shooting in the dark here. http://i.imgur.com/NdrFdld.png[/img]
March 1, 201411 yr Author Oh, yes I have forgotten to add this Sry http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.