PaperMC / Paper

The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
Other
9.99k stars 2.32k forks source link

Dropped items from inventory turns invisible #7426

Closed protected22 closed 2 years ago

protected22 commented 2 years ago

Expected behavior

I expected to see the item on the ground as a entity after dropping it from my inventory.

Observed/Actual behavior

The observed behavior is the item disappearing from my inventory and turning invisible on the ground. There is no hitbox shown and you only get the item back when you walk accidently on it. Sometimes it just disappears and gets removed entirely. This is without a "ram-fixing" plugin such as clear-lag.

Steps/models to reproduce

From hotbar: 1- have a item in your hotbar. 2- press Q to drop the item. 3- see no item on the ground 4- Press W to walk 5- (if your lucky enough) see the item show up in your hotbar again

The same is when dropping from inventory screen. 1- press E to open inventory. 2- Pick an item 3- while holding the left mouse button, move it outside your inventory screen 4- see no item on the ground 5- close inventory screen 6- Press W to walk 7- (if your lucky enough) see the item show up in your hotbar again

Plugin and Datapack List

plugins [11:38:29 INFO]: Plugins (44): AlonsoLeaderboards, AuctionHouse, AureliumSkills, Chunky, Citizens, CitizensGUI, CMILib, CoreProtect, DailyRewards, DiscordSRV, DiscordSRV-Staff-Chat, dynmap, Essentials, EssentialsSpawn, ExcellentCrates, ExcellentEnchants, Factions, floodgate, Geyser-Spigot, GeyserUpdater, GroupManager, GSit, HoloExtension, HolographicDisplays, Jobs, KixsChatAnnouncer, Log4JExploitFix, MovingDevApi, NexEngine, NexEngine_CustomEffects, OpenInv, PlaceholderAPI, ProtocolLib, ServerSigns, SignShop, SilkSpawners, sleep-most, UltraPunishments, Vault, ViaVersion, WorldEdit, WorldGuard, WorldGuardExtraFlags, XrayDetection

Paper version

version [11:37:45 INFO]: Checking version, please wait... [11:37:46 INFO]: This server is running Paper version git-Paper-408 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: cc43ba7 on ver/1.17.1) You are running the latest version Previous version: git-Paper-399 (MC: 1.17.1)

Other

I tried asking this in the discord too. But no one responded to my questions there.

Doc94 commented 2 years ago

this remember me issue realted to droped items using Player::dropItem not sure if its related. https://github.com/PaperMC/Paper/issues/6760

protected22 commented 2 years ago

I dont know if its with the same method player.dropItem(true). But I think its related. But the inventory does update after dropping. Only the dropping itself does weird stuff.

e-im commented 2 years ago

Thanks for the report. This would be caused by out of your plugins, although could be an issue with Paper that the plugin is exposing as Doc mentioned. Sorry that you didn't get a good response from our discord for support, but in the future please try reaching out there again or our forums in the help section. The issue tracker isn't the best place for this type of stuff.