Describe the bug
Any player can put the eng in the second (left hand) and disconnect from the game. The result is that the egg is not dropped and stays in the inventory
To Reproduce
Log in
Put the egg in the second hand selecting it and pressing F
Log out
Expected behavior
The egg is removed from the second hand and dropped on the ground
Actual behavior
The egg stays in the invenotry of the logged out user
Version Information:
- Version of this plugin: EggHunt-1.1.1-shaded
- Minecraft version: Minecraft 1.20.4
- Server software: paper-1.20.4-463
If applicable, also attach the following information:
- Any other installed plugins (a lot, unrelevant)
- Server build: paper-1.20.4-463
- Minecraft client: vanilla minecraft
Configuration and logs:
If applicable, attach the config.yml and data.yml files inside the /plugins/EggHunt/ directory, which is generated when the plugin is first run.
#If enabled, logs extra debugging information to the console. This information will appear in logs regardless of debug setting.
debug: false
#Name of your end world, usually to "world_the_end" on spigot
end: world_the_end
#Whether the egg teleporting causes the owner to no longer count as the owner of the egg
reset_owner: true
#Whether the egg should be invulnerable to damage
egg_inv: true
#Whether the egg should respawn after it is destroyed
resp_egg: true
#Whether the egg respawns immediately (true) or after a new dragon is spawned and killed (false) after the egg is destroyed
resp_imm: false
#Whether to drop any eggs that players have in their ender chest onto the ground.
#Setting this to false will prevent the player from removing that egg from their ender chest.
drop_enderchested_egg: false
#Whether to apply an entity tag to the egg owner (works like `/tag <playerName> add <tagName>`)
#Tag is updated when egg ownership changes and on player login
tag_owner: true
#The name of the tag to apply. Selected like: `/tell @a[tag=<tagName>] <message>`
#If changing this while the egg is claimed, remove the old tag by running `/tag <playerName> remove <oldTagName>`
owner_tag_name: eggOwner
#Whether to create and update scoreboards for time holding the dragon egg
#Scoreboards are updated when the egg changes ownership and when the world saves
#When editing the scores, modify the board tracking seconds. Other times are calculated based on that time
keep_score: true
#Whether entities with custom names are counted on the scoreboard instead of the owner when holding the egg
named_entities_keep_score: false
Also attach any relevant log files.
Do not upload zipped log files (ending in .gz), first unzip the log file(s) inside with a utility like (7-zip)[https://www.7-zip.org/].
Screenshots
If applicable, attach screenshots to help explain the issue.
Additional context
Add any other relevant context about the problem here.
Describe the bug
Any player can put the eng in the second (left hand) and disconnect from the game. The result is that the egg is not dropped and stays in the inventory
To Reproduce
Log in
Put the egg in the second hand selecting it and pressing F
Log out
Expected behavior
The egg is removed from the second hand and dropped on the ground
Actual behavior
The egg stays in the invenotry of the logged out user
Version Information:
If applicable, also attach the following information:
Configuration and logs:
If applicable, attach the
config.ymlanddata.ymlfiles inside the/plugins/EggHunt/directory, which is generated when the plugin is first run.Also attach any relevant log files.
Do not upload zipped log files (ending in
.gz), first unzip the log file(s) inside with a utility like (7-zip)[https://www.7-zip.org/].Screenshots
If applicable, attach screenshots to help explain the issue.
Additional context
Add any other relevant context about the problem here.