From 46fa467755c9bd35dac6ee5de6f9be3cd1982016 Mon Sep 17 00:00:00 2001 From: asofold Date: Sun, 3 Mar 2013 14:11:21 +0100 Subject: [PATCH] Add SpoutCraftPlayer (and other random ones) ot player-class default player classes. --- .../src/me/asofold/bpl/cncp/hooks/generic/HookPlayerClass.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CompatNoCheatPlus/src/me/asofold/bpl/cncp/hooks/generic/HookPlayerClass.java b/CompatNoCheatPlus/src/me/asofold/bpl/cncp/hooks/generic/HookPlayerClass.java index 6e8d020..ce18549 100644 --- a/CompatNoCheatPlus/src/me/asofold/bpl/cncp/hooks/generic/HookPlayerClass.java +++ b/CompatNoCheatPlus/src/me/asofold/bpl/cncp/hooks/generic/HookPlayerClass.java @@ -36,7 +36,8 @@ public final class HookPlayerClass extends AbstractHook implements ConfigurableH protected Set playerClassNames = new HashSet(); public HookPlayerClass(){ - this.playerClassNames.addAll(Arrays.asList(new String[]{"CraftPlayer", "SpoutPlayer", "SpoutClientPlayer"})); + // TODO: Might need cleanup. + this.playerClassNames.addAll(Arrays.asList(new String[]{"CraftPlayer", "SpoutCraftPlayer", "SpoutPlayer", "SpoutClientPlayer", "SpoutPlayerSnapshot"})); } @Override