mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-07-03 09:44:41 +02:00
Workaround for problems with MC 1.0 (broken check gets deactivated
automatically now) + v 2.16d
This commit is contained in:
parent
0459235c43
commit
36b97f246a
2
pom.xml
2
pom.xml
|
@ -3,7 +3,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>NoCheat</groupId>
|
<groupId>NoCheat</groupId>
|
||||||
<artifactId>NoCheat</artifactId>
|
<artifactId>NoCheat</artifactId>
|
||||||
<version>2.16c</version>
|
<version>2.16d</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>NoCheat</name>
|
<name>NoCheat</name>
|
||||||
<properties>
|
<properties>
|
||||||
|
|
|
@ -36,8 +36,8 @@ public class TimedEventManager extends EventManagerImpl {
|
||||||
this.timedPerformance = plugin.getPerformance(Type.TIMED);
|
this.timedPerformance = plugin.getPerformance(Type.TIMED);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Get an error thrown if "b" doesn't exist
|
// Get an error thrown if "entityPlayer.b(boolean)" doesn't exist
|
||||||
EntityPlayer.class.getMethod("b", Boolean.class);
|
EntityPlayer.class.getMethod("b", boolean.class);
|
||||||
|
|
||||||
checks.add(new GodmodeCheck(plugin));
|
checks.add(new GodmodeCheck(plugin));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user