3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-10-08 10:50:11 +02:00

Fix dropping items in 1.19.10

Dieser Commit ist enthalten in:
Camotoy 2022-07-12 16:05:06 -04:00
Ursprung 16bb79e7aa
Commit 109e1c0a97
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 7EEFB66FE798081F

Datei anzeigen

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