Skip to content

Commit

Permalink
Remove unneeded catch
Browse files Browse the repository at this point in the history
  • Loading branch information
bonn2 committed May 19, 2023
1 parent f3199e5 commit f28a452
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,7 @@ public void onPacketSending(PacketEvent event) {
}

// Send new packet
try {
manager.sendServerPacket(event.getPlayer(), newPacket);
} catch (InvocationTargetException e) {
throw new RuntimeException(e);
}
manager.sendServerPacket(event.getPlayer(), newPacket);
}
}
}
Expand Down

0 comments on commit f28a452

Please sign in to comment.