3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-08 17:20:24 +01:00

Remove some channel debug

Dieser Commit ist enthalten in:
Myles 2018-07-18 19:27:39 +01:00
Ursprung 152ef7fe38
Commit c3eaf5a1b0

Datei anzeigen

@ -144,7 +144,6 @@ public class InventoryPackets {
List<String> rewrittenChannels = new ArrayList<>(); List<String> rewrittenChannels = new ArrayList<>();
for (int i = 0; i < channels.length; i++) { for (int i = 0; i < channels.length; i++) {
String rewritten = getNewPluginChannelId(channels[i]); String rewritten = getNewPluginChannelId(channels[i]);
System.out.println(channels[i] + " -> " + rewritten);
if (rewritten != null) if (rewritten != null)
rewrittenChannels.add(rewritten); rewrittenChannels.add(rewritten);
else else
@ -216,7 +215,6 @@ public class InventoryPackets {
String channel = wrapper.get(Type.STRING, 0); String channel = wrapper.get(Type.STRING, 0);
String originalChannel = channel; String originalChannel = channel;
channel = getOldPluginChannelId(channel); channel = getOldPluginChannelId(channel);
System.out.println(originalChannel + " -> " + channel);
if (channel == null) { if (channel == null) {
System.out.println("Plugin message cancelled " + originalChannel); // TODO remove this debug System.out.println("Plugin message cancelled " + originalChannel); // TODO remove this debug
wrapper.cancel(); wrapper.cancel();
@ -226,7 +224,6 @@ public class InventoryPackets {
List<String> rewrittenChannels = new ArrayList<>(); List<String> rewrittenChannels = new ArrayList<>();
for (int i = 0; i < channels.length; i++) { for (int i = 0; i < channels.length; i++) {
String rewritten = getOldPluginChannelId(channels[i]); String rewritten = getOldPluginChannelId(channels[i]);
System.out.println(channels[i] + " -> " + rewritten);
if (rewritten != null) if (rewritten != null)
rewrittenChannels.add(rewritten); rewrittenChannels.add(rewritten);
else else