3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-10-05 09:20:07 +02:00

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

Dieser Commit ist enthalten in:
Kas-tle 2022-07-12 20:17:23 +00:00 committet von GitHub
Commit 1b5f237996

Datei anzeigen

@ -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);