Merge remote-tracking branch 'upstream/master' into feature/extensions

This commit is contained in:
Kas-tle 2022-07-12 20:17:23 +00:00 committed by GitHub
commit 1b5f237996
1 changed files with 2 additions and 0 deletions

View File

@ -1667,6 +1667,8 @@ public class GeyserSession implements GeyserConnection, GeyserCommandSource {
// 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);