Skip to content

Commit

Permalink
Code cleanup after review
Browse files Browse the repository at this point in the history
  • Loading branch information
Laiff authored and Dream-Master committed Oct 27, 2023
1 parent 549f37d commit 4f25784
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -721,11 +721,6 @@ protected void keyTyped(final char character, final int key) {
|| searchFieldNames.textboxKeyTyped(character, key)) {
return;
}
// if (Character.isDigit(character) && character != '0') {
// // move hotbar to slot
// if (masterList.hoveredEntry != null && masterList.hoveredEntry.hoveredSlotIdx != -1) {
// }
// }
super.keyTyped(character, key);
}
}
Expand Down
10 changes: 1 addition & 9 deletions src/main/java/appeng/core/sync/packets/PacketCompressedNBT.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
import java.util.zip.GZIPInputStream;
import java.util.zip.GZIPOutputStream;

import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.CompressedStreamTools;
import net.minecraft.nbt.NBTTagCompound;
Expand Down Expand Up @@ -85,11 +83,5 @@ public void write(final int value) throws IOException {

@Override
@SideOnly(Side.CLIENT)
public void clientPacketData(final INetworkInfo network, final AppEngPacket packet, final EntityPlayer player) {
final GuiScreen gs = Minecraft.getMinecraft().currentScreen;

// if (gs instanceof GuiInterfaceTerminal) {
// ((GuiInterfaceTerminal) gs).postUpdate(this.in);
// }
}
public void clientPacketData(final INetworkInfo network, final AppEngPacket packet, final EntityPlayer player) {}
}

0 comments on commit 4f25784

Please sign in to comment.