ProtocolLib

3M Downloads

Dropped items won't destroy on player clients when they stack.

JakeNijssen opened this issue · 12 comments

commented

Make sure you're doing the following

  • You're using the latest build for your server version
  • This isn't an issue caused by another plugin
  • You've checked for duplicate issues
  • You didn't use /reload

Describe the question
How can I possibly fix this bug, where if you drop items fast and throw them arround you it leaves an ghost entity on player clients, but when you drop them slowely it wont't

API method(s) used
The PacketAdapter onPacketSending

Expected behavior
Everytime an dropped item stacks it should destroy the old one.

Code
https://github.com/AzortisCode/ProtocolVanish/blob/master/src/main/java/com/azortis/protocolvanish/visibility/packetlisteners/GeneralEntityPacketListener.java

Additional context
Here a youtube video where the bug is shown.

commented

Somehow it does work with latest v4.5.1

commented

I am having the same issue on my server as well.

commented

@dmulloy2 How do you think it got fixed actually?

commented

@yourpaljake honestly couldn’t tell ya. but if it works it works haha

commented

@camohax did you try it on 4.5.1?

commented

@dmulloy2 Where do I get 4.5.1? I don’t see it on the GitHub

commented

Using latest build and this issue is still happening... even tried 4.5.1

commented

That is disturbing dmulloy can you look into it?

commented

Its also currently doing this with EXP somehow it just doesn't wanna destroy entities

commented

This issue affects mobs/items/xp. Here's a video I made of the issue before I went to single out the plugin causing the issue. https://www.youtube.com/watch?v=r9KyM5cDe0o&feature=emb_title

Edit: I'm using the latest version from SpigotMC.
Edit 2: Build #445 doesn't fix it either. I'm also using Paper 1.15.2. The issue did occur when I ran 1.15.1.

commented

So, it turns out ProtocolVanish is what causes the issue. It just appears to be ProtocolLib as ProtocolVanish doesn't cause the bug when it's missing a dependency.

Edit: So it appears the the mobs and xp issue is gone no matter what plugin is installed, so I believe my original report was both caused by ProtocolLib and ProtocolVanish, but Vanish now causes Items to become ghost items.

I submitted a bug report here about it: AzortisCode/ProtocolVanish#5