mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-17 10:55:06 +00:00
Rename receivePacket -> receivePackets
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -823,7 +823,7 @@ public class GuiLevelTerminal extends FCBaseMEGui implements IDropToFillTextFiel
|
||||
&& mouseY < guiTop + HEADER_HEIGHT + viewHeight;
|
||||
}
|
||||
|
||||
public void receivePacket(List<SPacketLevelTerminalUpdate.PacketEntry> packets) {
|
||||
public void receivePackets(List<SPacketLevelTerminalUpdate.PacketEntry> packets) {
|
||||
for (SPacketLevelTerminalUpdate.PacketEntry packet : packets) {
|
||||
parsePacket(packet);
|
||||
}
|
||||
|
||||
@@ -106,7 +106,7 @@ public class SPacketLevelTerminalUpdate implements IMessage {
|
||||
final GuiScreen gs = Minecraft.getMinecraft().currentScreen;
|
||||
|
||||
if (gs instanceof GuiLevelTerminal levelTerminal) {
|
||||
levelTerminal.receivePacket(message.commands);
|
||||
levelTerminal.receivePackets(message.commands);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user