(bugfix?) Re release with corrected class name (something went wrong).

This commit is contained in:
asofold 2012-08-05 17:00:57 +02:00
parent 2e33e93c0b
commit addfd395a6
3 changed files with 7 additions and 3 deletions

View File

@ -22,6 +22,10 @@ STACK
VERSION HISTORY
---------------------------
(2.0.1)
- (bugfix?) Re release with corrected class name (something went wrong).
(2.0.0)
- (BIG CHANGE) THIS NOW IS FOR: DeadNoCheat

View File

@ -1,6 +1,6 @@
name: CompatNoCheatPlus
main: me.asofold.bpl.cncp.CompatNoCheatPlus
version: 2.0.0
version: 2.0.1
depend:
- DeadNoCheat
softdepend:

View File

@ -6,7 +6,7 @@ import java.util.Map;
import me.asofold.bpl.cncp.hooks.AbstractHook;
import me.asofold.bpl.cncp.utils.PluginGetter;
import me.asofold.bpl.dead.nocheat.checks.CheckEvent;
import me.asofold.bpl.dead.nocheat.players.NCPPlayer;
import me.asofold.bpl.dead.nocheat.players.DNCPlayer;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
@ -126,7 +126,7 @@ public final class HookmcMMO extends AbstractHook implements Listener {
// System.out.println("[cncp] Return on cancel == null: "+event.getPlayer().getName());
return;
}
final NCPPlayer ncpPlayer = event.getPlayer();
final DNCPlayer ncpPlayer = event.getPlayer();
final String name = ncpPlayer.getName();
if (cancel.equals(name)){