mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-14 19:41:21 +01:00
Remove several deprecated interfaces and methods.
This commit is contained in:
parent
f3973cd043
commit
b3fa312ceb
@ -21,7 +21,6 @@ import fr.neatmonster.nocheatplus.checks.inventory.InventoryData;
|
||||
import fr.neatmonster.nocheatplus.checks.moving.MovingConfig;
|
||||
import fr.neatmonster.nocheatplus.checks.moving.MovingData;
|
||||
import fr.neatmonster.nocheatplus.permissions.Permissions;
|
||||
import fr.neatmonster.nocheatplus.players.DataManager;
|
||||
|
||||
/**
|
||||
* Type of checks (containing configuration and dataFactory classes, name and permission).
|
||||
@ -234,14 +233,4 @@ public enum CheckType {
|
||||
return configFactory.getConfig(player).isEnabled(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the player data for a given player and a given check type. CheckType.ALL and null will be interpreted as removing all data.<br>
|
||||
* @deprecated Will be removed, use DataManager.removeData instead.
|
||||
* @param playerName
|
||||
* @param checkType
|
||||
* @return If any data was present.
|
||||
*/
|
||||
public static boolean removeData(final String playerName, final CheckType checkType) {
|
||||
return DataManager.removeData(playerName, checkType);
|
||||
}
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
package fr.neatmonster.nocheatplus.command;
|
||||
|
||||
/**
|
||||
* @deprecated Use instead: fr.neatmonster.nocheatplus.components.INotifyReload
|
||||
* @author mc_dev
|
||||
*
|
||||
*/
|
||||
public interface INotifyReload extends fr.neatmonster.nocheatplus.components.INotifyReload {
|
||||
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
package fr.neatmonster.nocheatplus.config;
|
||||
|
||||
|
||||
/**
|
||||
* Indicate that an instance needs config after time of creation but in onEnable.
|
||||
* @deprecated Use instead: fr.neatmonster.nocheatplus.components.INeedConfig
|
||||
* @author mc_dev
|
||||
*
|
||||
*/
|
||||
public interface INeedConfig extends fr.neatmonster.nocheatplus.components.INeedConfig{
|
||||
}
|
Loading…
Reference in New Issue
Block a user