We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4392354 commit da49c15Copy full SHA for da49c15
src/main/java/moe/kyuunex/doujin_dupe/modules/DoujinDupe.java
@@ -179,9 +179,6 @@ public void sendPacket(Packet<?> packet) {
179
ClientPacketListener network = mc.getConnection();
180
if (network == null) return;
181
182
- Connection connection = network.getConnection();
183
- if (connection == null) return;
184
-
185
- connection.channel.writeAndFlush(packet);
+ network.getConnection().channel.writeAndFlush(packet);
186
}
187
0 commit comments