This commit is contained in:
HaHaWTH 2024-07-12 23:26:14 +08:00
parent 92741daaa8
commit 02ebb0b0ab

View File

@ -75,9 +75,7 @@ class ListenerService implements SettingsDependent {
* @param player the player to verify
* @return true if the associated event should be canceled, false otherwise
*/
public boolean shouldCancelEvent(Player player) {
return player != null && !checkAuth(player.getName()) && !PlayerUtils.isNpc(player);
}
@Override