Commit c4b018226c88a45f7b08d041a9f855a7c7239d71

Authored by Mumfrey
1 parent 0091f010

remove debug try/catch block

java/common/com/mumfrey/liteloader/core/PacketEvents.java
@@ -124,16 +124,8 @@ public abstract class PacketEvents implements InterfaceProvider @@ -124,16 +124,8 @@ public abstract class PacketEvents implements InterfaceProvider
124 return; 124 return;
125 } 125 }
126 126
127 - try 127 + if (this.packetHandlers[packetId].all().handlePacket(netHandler, e.getSource()))
128 { 128 {
129 - if (this.packetHandlers[packetId].all().handlePacket(netHandler, e.getSource()))  
130 - {  
131 - return;  
132 - }  
133 - }  
134 - catch (Throwable ex)  
135 - {  
136 - ex.printStackTrace();  
137 return; 129 return;
138 } 130 }
139 131