haveric / StackableItems

Minecraft Bukkit plugin that allows you to change the default stack size of items.
22 stars 16 forks source link

Data values are not persistent after attempting to stack #58

Closed haveric closed 11 years ago

haveric commented 11 years ago

Quote from ambedrake "

Hey mate, we just ran into an interesting cross plugin interaction that you may want to know about. We have a couple plugins that store special added data to certain items, such as special potions and mob spawn eggs, as such we know since the data is not natural to the game having them stack is a bad idea as it would intuitively remove that extra data, so we set the stacking to 1 to keep that from happening. What we found is if you ATTEMPT to stack the item, though they wont technically stack at the end, it will reset both items to their base item with out the extra data.

This leads me to believe that somewhere it's actually stacking them, realizing after the fact then undoing the function. If there is some way to block the stacking before the attempt to try and preserve data from other mods it would be a nice way to keep this plugin and others compatible.

Anyways, just some experiences from our server we thought you may like to know about ^_^

Cheers, Ambedrake"

"Sorry for the late reply I've been out for awhile with RL. The main one that got our users concerned is "MobCatcher" which is storing mob data such as armor, weapons, health etc. The other one that was going a wee wonky was Custom Potions. To be honest though MobCatcher is the only one that causes too much of an issue as it is the base way players open shops on our server (They have to capture villagers and enslave them to do their trading lol).

Anyhow thanks for the reply, Ambe"

haveric commented 11 years ago

This should be fixed now that meta data is supported.