Fix a mod crash

This commit is contained in:
zontreck 2023-11-19 05:12:23 -07:00
parent cd2a48bdfb
commit 29814e35b1
5 changed files with 6 additions and 27 deletions

View file

@ -63,13 +63,7 @@ public class S2CWalletUpdatedPacket implements IPacket
return ServerUtilities.handlePacket(supplier, new Runnable() {
@Override
public void run() {
try {
Bus.Post(new WalletUpdatedEvent(ID, oldBal, balance, tx));
} catch (InvocationTargetException e) {
throw new RuntimeException(e);
} catch (IllegalAccessException e) {
throw new RuntimeException(e);
}
Bus.Post(new WalletUpdatedEvent(ID, oldBal, balance, tx));
}
});