haveric / StackableItems

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

Duplicate item bug #148

Open joey-kwl opened 4 years ago

joey-kwl commented 4 years ago

You can duplicate your items by pressing many items in your inventory and moving them around your inventory.

See video for example: https://streamable.com/d6aimn

Minecraft 1.15.2

haveric commented 4 years ago

Can you confirm that these items exist after picking both back up as well as logging out and logging back in?

joey-kwl commented 4 years ago

Item is still there after logging out. I can also still use it.

haveric commented 4 years ago

Can you share your items.yml configuration?

joey-kwl commented 4 years ago

allWorlds: default: MIN: 32 MAX: -1 player: {} group: testGroup: MIN: -1 MAX: -1 inventory: chest: MIN: -1 MAX: -1 testWorld: default: MIN: -1 MAX: -1

haveric commented 4 years ago

I've tested this for a while, but I am unable to replicate it. Are you able to replicate this with only StackableItems?

joey-kwl commented 4 years ago

It only happens when StackableItems is ON

haveric commented 4 years ago

Do you have any other plugins running? Can you test this with StackableItems being the only plugin?

joey-kwl commented 4 years ago

Already tested with the previous test

haveric commented 4 years ago

What server software and version are you using? What OS are you using? Are you testing this on a local server or hosted? Are you using a custom client? If you're using spigot or paper, what does /tps show?

joey-kwl commented 4 years ago
  1. Spigot
  2. Windows 10 pro
  3. Local server (port forwarded)
  4. 3rd party client

  5. 20. 20. *20. (even right after the bug)
haveric commented 4 years ago

What version of Spigot and what 3rd party client?

Have you tested this on the vanilla client?

joey-kwl commented 4 years ago

spigot-1.15.2 and tested on vanilla but same problem

haveric commented 4 years ago

Can you confirm how you are clicking when you duplicate the items? Are you only left clicking?

joey-kwl commented 4 years ago

Only left button works, same with right and with alternating. It can takes few minutes before succeeding

I click really fast and moving the mouse up and down (also fast)

haveric commented 4 years ago

Just to clarify, which of the three scenarios are causing the duplication for you:

Also, are you using any tool to click faster?

joey-kwl commented 4 years ago

All 3 scenarios are possible. I tried all 3 of them.

No tools, just my fingers

joey-kwl commented 4 years ago

Tested a bit more with some macro's

It seems it only works when I have

default:
   MIN: 32
   MAX: -1

in items.yml