mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Fix dropping items in 1.19.10
This commit is contained in:
parent
16bb79e7aa
commit
109e1c0a97
1 changed files with 2 additions and 0 deletions
|
@ -1669,6 +1669,8 @@ public class GeyserSession implements GeyserConnection, CommandSender {
|
|||
// Default stuff we have to fill in
|
||||
abilities.add(Ability.BUILD);
|
||||
abilities.add(Ability.MINE);
|
||||
// Needed so you can drop items
|
||||
abilities.add(Ability.DOORS_AND_SWITCHES);
|
||||
if (gameMode == GameMode.CREATIVE) {
|
||||
// Needed so the client doesn't attempt to take away items
|
||||
abilities.add(Ability.INSTABUILD);
|
||||
|
|
Loading…
Reference in a new issue