3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-03 14:50:19 +01:00
Dieser Commit ist enthalten in:
Camotoy 2020-12-27 11:08:48 -05:00
Ursprung 956d264c3e
Commit 790c695b27
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 7EEFB66FE798081F

Datei anzeigen

@ -462,6 +462,7 @@ public abstract class InventoryTranslator {
} }
case DESTROY: { case DESTROY: {
// Only called when a creative client wants to destroy an item... I think - Camotoy // Only called when a creative client wants to destroy an item... I think - Camotoy
//TODO there is a Count here we don't use
DestroyStackRequestActionData destroyAction = (DestroyStackRequestActionData) action; DestroyStackRequestActionData destroyAction = (DestroyStackRequestActionData) action;
if (!session.getGameMode().equals(GameMode.CREATIVE)) { if (!session.getGameMode().equals(GameMode.CREATIVE)) {
// If this happens, let's throw an error and figure out why. // If this happens, let's throw an error and figure out why.