Skip to content

Commit da49c15

Browse files
committed
cleanup
1 parent 4392354 commit da49c15

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main/java/moe/kyuunex/doujin_dupe/modules/DoujinDupe.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,6 @@ public void sendPacket(Packet<?> packet) {
179179
ClientPacketListener network = mc.getConnection();
180180
if (network == null) return;
181181

182-
Connection connection = network.getConnection();
183-
if (connection == null) return;
184-
185-
connection.channel.writeAndFlush(packet);
182+
network.getConnection().channel.writeAndFlush(packet);
186183
}
187184
}

0 commit comments

Comments
 (0)