3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-09-08 13:52:50 +02:00

Remove debug message

Dieser Commit ist enthalten in:
Matsv 2018-01-07 17:28:50 +01:00
Ursprung ff5bb8acc6
Commit 566c9dbda0

Datei anzeigen

@ -70,7 +70,7 @@ public class InventoryPackets {
@Override
public void handle(PacketWrapper wrapper) throws Exception {
String channel = wrapper.get(Type.STRING, 0);
// Handle stopsound change
// Handle stopsound change TODO change location of this remap to other class?
if (channel.equalsIgnoreCase("MC|StopSound")) {
String originalSource = wrapper.read(Type.STRING);
String originalSound = wrapper.read(Type.STRING);
@ -89,7 +89,6 @@ public class InventoryPackets {
finalSource = Optional.of(SoundSource.MASTER);
}
System.out.println(finalSource.get());
wrapper.write(Type.VAR_INT, finalSource.get().getId());
}
if (!originalSound.isEmpty()) {