ProtocolLib/ProtocolLib
Kristian S. Stangeland 6af440789c Invert the actual packet instance instead of a new instance.
In NetworkFieldInjector, we use a "inverted" packet class to undo the 
data received counter when a packet has been cancelled. 

Previously, we would generate a proxy class that inherits from the 
class of the packet (Packet3Chat, etc.) along with its size() method 
(which is called and added to the counter, cancelling the other packet),
but this doesn't work for packets that are dynamically sized such as
Packet255KickDisconnect. Instead, we now pass the actual instance to
 the proxy class through a weak hash map.
2013-05-07 23:11:41 +02:00
..
.settings Added configuration and commands. 2012-11-03 00:38:57 +01:00
src Invert the actual packet instance instead of a new instance. 2013-05-07 23:11:41 +02:00
.classpath Added configuration and commands. 2012-11-03 00:38:57 +01:00
.gitignore Switching to Maven instead of Ant. 2012-10-10 21:35:55 +02:00
.project Compile PL for 1.4.7 - though earlier versions will still work. 2013-01-18 15:36:42 +01:00
pom.xml Increment to 2.4.2-SNAPSHOT 2013-04-11 22:51:20 +02:00