Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Item drop Mythicmobs Mobs not combined item paper 1.16.4 #4888

Open
Chillchillnetwork opened this issue Dec 13, 2020 · 24 comments · May be fixed by #6704
Open

Item drop Mythicmobs Mobs not combined item paper 1.16.4 #4888

Chillchillnetwork opened this issue Dec 13, 2020 · 24 comments · May be fixed by #6704
Labels
plugin Issue cause relates to a plugin. type: bug Something doesn't work as it was intended to. version: 1.18 Game version 1.18

Comments

@Chillchillnetwork
Copy link

Chillchillnetwork commented Dec 13, 2020

What behaviour is expected:

  • Item drop mythicmobs combine item paper

What behaviour is observed:

  • Item drop Mythicmobs not combined item paper 1.16.4 By the way, making it combined is restart server , Enter the server again , load chunk but the name of the item is the same.

Steps/models to reproduce:

Boss drop in mythicmobs
https://mcpaste.io/866a167ca699e822

Plugin list:

  • AuctionHouse , BetterDrops , ChestShop , Citizens , Clearlag , CMI , Command Panels , EntityTrackerFixer , ItemEdit , Jobs , LockettePro , LuckPerms , MobFarmManager , MythicMobs-4.11.0 , PlaceholderAPI , ProtocolLib , Shopkeepers-2.12.0

Paper version:

  • paper-1.16.4-324 [Lastest Version Paper] Confirm!
@electronicboy
Copy link
Member

We'd need to see the NBT data from those items as they're likely not the same, this is likely down to the spigot issue with modern servers where the data does not always match up properly due to technical reasons

@Machine-Maker
Copy link
Member

#4886?

@Chillchillnetwork
Copy link
Author

@Machine-Maker Yes I confirm paper 1.16.4 dev 324

@Chillchillnetwork
Copy link
Author

I tried updating paper and it was the same.

@electronicboy electronicboy added the resolution: awaiting response Additional information is required from the issue reporter label Dec 14, 2020
@aikar
Copy link
Member

aikar commented Dec 19, 2020

Should be same issue I just fixed here: starlis/empirecraft@1476d69

I will try to get this into Paper here soon, but gonna see if i can improve it to just change equals on the component modifiers checks instead, though I think legacy is still safer as it can deal with dummy blank wrapper components too.

@Charoxy
Copy link

Charoxy commented Dec 27, 2020

I wait this

@hkkongou
Copy link

hkkongou commented Jan 2, 2021

actually there are many people waiting for this paper update...
hopefully this issue can be fixed and closed asap

@electronicboy
Copy link
Member

Spigot may have actually done some changes which negates the need for that change, we'll see, I guess

@tytyrocks12
Copy link

This issue still persists with mythicmobs. Has been causing tons of extra moderation to keep the trades going with the players, as 50% of all items do not match anymore.

@tytyrocks12
Copy link

I tested this on the latest version of Paper, Paper-406

@hkkongou
Copy link

did paper fixed this problem in latest patch?

@badnameok
Copy link

badnameok commented Jan 29, 2021

image
just tested on 1.16.5, it doesn't seem to be fixed yet. NBT tags shown in picture. 1st Item: Directly dropped 2nd Item: After relogging.

@hkkongou

This comment has been minimized.

@hkkongou

This comment has been minimized.

@aurorasmiles
Copy link
Contributor

Don't spam and randomly tag people.

@electronicboy
Copy link
Member

Because to fix a problem, we need to be able to reproduce it and look deeper into it, given that this also highly falls into craftbukkits flawed handling of components, stuff like this is generally a pain in the ass to resolve without breaking other things

We don't support premium/closed source plugins, especially as they make it much harder to even bother to begin, and I have personally asked on multiple occasions for people to provide a minimal reproduction case.

If somebody wants to produce a jar with aikars fix, that might be worth testing, I'd build it myself but am not feeling well right now

@hkkongou

This comment has been minimized.

@badnameok
Copy link

badnameok commented Jan 29, 2021

here is a config and steps for reproduction. just in case it helps

  1. put this into a .yml file in /MythicMobs/Items
material_common_zombie_flesh:
  Id: ROTTEN_FLESH
  Display: "&cZombie Flesh"
  Lore:
  - "&7Common Material"
  1. restart server or /mm r
  2. /mm i get material_common_zombie_flesh
  3. disconnect and reconnect to the server
  4. repeat step 3. The two items shouldn't stack and will have the same NBT as shown above.

@electronicboy
Copy link
Member

We already have spigots fixes, if something else is interfering, we'd need more info on reproducing as this specifically looks like an issue with spigots chat API mangling stuff

reproduction in MM is generally useless given the whole premium/locked down nature of the plugin, it's not viable for us to go deep into debugging it

@aikar
Copy link
Member

aikar commented Jan 29, 2021

There is a possibility it's paper specific to making the issue worse, as we have some changes to the format that spigot doesn't that's at play here causing the issue.

But i believe spigot had issues for any old item pre 1.16 comparing to 1.16 too. It's overall a mess...

@Hei5633

This comment has been minimized.

@PaperMC PaperMC locked and limited conversation to collaborators Jan 29, 2021
@Proximyst
Copy link
Contributor

If someone has any actual information to add, please do ping us on Discord or IRC.
The issue will be solved eventually. Asking over and over will not magically resolve it.

@electronicboy
Copy link
Member

https://paste.gg/p/anonymous/76e0ff5952bd4c35a64c35230097cccd

Looks like the typical joyous conversions that CB does where they're wrapped, did spigot change this or something? I recall this being a constant issue after a vanilla update where vanilla changed the way components worked and basically broke all hell loose

@electronicboy
Copy link
Member

https://github.com/PaperMC/Paper/blob/master/Spigot-Server-Patches/0522-Update-itemstack-legacy-name-and-lore.patch
The itemstacks that MM is creating are in fact invalid, however, this only seems to be caught later on, looks like this needs applying to bukkit stacks too; Need to work out if this is an API issue or a plugin issue

@e-im e-im removed the resolution: awaiting response Additional information is required from the issue reporter label May 20, 2021
@e-im e-im added plugin Issue cause relates to a plugin. type: bug Something doesn't work as it was intended to. version: 1.16 Game version 1.16 labels May 20, 2021
@e-im e-im added version: 1.17 Game version 1.17 and removed version: 1.16 Game version 1.16 labels Oct 25, 2021
@e-im e-im added version: 1.18 Game version 1.18 and removed version: 1.17 Game version 1.17 labels Mar 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
plugin Issue cause relates to a plugin. type: bug Something doesn't work as it was intended to. version: 1.18 Game version 1.18
Projects
None yet
Development

Successfully merging a pull request may close this issue.