3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-08 17:20:24 +01: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 @Override
public void handle(PacketWrapper wrapper) throws Exception { public void handle(PacketWrapper wrapper) throws Exception {
String channel = wrapper.get(Type.STRING, 0); 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")) { if (channel.equalsIgnoreCase("MC|StopSound")) {
String originalSource = wrapper.read(Type.STRING); String originalSource = wrapper.read(Type.STRING);
String originalSound = wrapper.read(Type.STRING); String originalSound = wrapper.read(Type.STRING);
@ -89,7 +89,6 @@ public class InventoryPackets {
finalSource = Optional.of(SoundSource.MASTER); finalSource = Optional.of(SoundSource.MASTER);
} }
System.out.println(finalSource.get());
wrapper.write(Type.VAR_INT, finalSource.get().getId()); wrapper.write(Type.VAR_INT, finalSource.get().getId());
} }
if (!originalSound.isEmpty()) { if (!originalSound.isEmpty()) {