Merge pull request #60 from remuladgryta/master

fixed 'derp' error on @NetworkMod
This commit is contained in:
LexManos 2012-08-14 01:16:29 -07:00
commit f98c252bcb

View file

@ -203,7 +203,7 @@ public class NetworkModHandler
try {
if (clientHandlerDefaultValue == null)
{
clientHandlerDefaultValue = NetworkMod.class.getMethod("clientPacketHandler").getDefaultValue();
clientHandlerDefaultValue = NetworkMod.class.getMethod("clientPacketHandlerSpec").getDefaultValue();
}
return clientHandlerDefaultValue;
}
@ -220,7 +220,7 @@ public class NetworkModHandler
try {
if (serverHandlerDefaultValue == null)
{
serverHandlerDefaultValue = NetworkMod.class.getMethod("serverPacketHandler").getDefaultValue();
serverHandlerDefaultValue = NetworkMod.class.getMethod("serverPacketHandlerSpec").getDefaultValue();
}
return serverHandlerDefaultValue;
}