mirror of
https://github.com/asofold/CompatNoCheatPlus.git
synced 2024-11-18 11:16:23 +01:00
Add SpoutClientPlayer to default classes.
This commit is contained in:
parent
60647b7d91
commit
fbea0ee095
@ -45,6 +45,11 @@ add a good mechanism for adding external configurable hooks (read automatically
|
|||||||
|
|
||||||
VERSION HISTORY
|
VERSION HISTORY
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
|
(6.2.8) Add SpoutClientPlayer to default classes.
|
||||||
|
|
||||||
|
(...)
|
||||||
|
|
||||||
(6.2.4)
|
(6.2.4)
|
||||||
- (adapt) Change default configuration to work with Spout (player-class hook).
|
- (adapt) Change default configuration to work with Spout (player-class hook).
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ public final class HookPlayerClass extends AbstractHook implements ConfigurableH
|
|||||||
protected Set<String> playerClassNames = new HashSet<String>();
|
protected Set<String> playerClassNames = new HashSet<String>();
|
||||||
|
|
||||||
public HookPlayerClass(){
|
public HookPlayerClass(){
|
||||||
this.playerClassNames.addAll(Arrays.asList(new String[]{"CraftPlayer", "SpoutPlayer"}));
|
this.playerClassNames.addAll(Arrays.asList(new String[]{"CraftPlayer", "SpoutPlayer", "SpoutClientPlayer"}));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -43,7 +43,7 @@ public final class HookPlayerClass extends AbstractHook implements ConfigurableH
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public final String getHookVersion() {
|
public final String getHookVersion() {
|
||||||
return "2.0";
|
return "2.1";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user