Workaround for problems with MC 1.0 (broken check gets deactivated

automatically now) + v 2.16d
This commit is contained in:
Evenprime 2011-11-23 14:51:42 +01:00
parent 0459235c43
commit 36b97f246a
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>NoCheat</groupId>
<artifactId>NoCheat</artifactId>
<version>2.16c</version>
<version>2.16d</version>
<packaging>jar</packaging>
<name>NoCheat</name>
<properties>

View File

@ -36,9 +36,9 @@ public class TimedEventManager extends EventManagerImpl {
this.timedPerformance = plugin.getPerformance(Type.TIMED);
try {
// Get an error thrown if "b" doesn't exist
EntityPlayer.class.getMethod("b", Boolean.class);
// Get an error thrown if "entityPlayer.b(boolean)" doesn't exist
EntityPlayer.class.getMethod("b", boolean.class);
checks.add(new GodmodeCheck(plugin));
} catch(NoSuchMethodException e1) {