refactoring and code cleanup
All checks were successful
Build / build (push) Successful in 1m27s

This commit is contained in:
unurled 2024-02-29 15:44:28 +01:00
parent 7cc9395cbc
commit 1380e7479a
Signed by: unurled
GPG key ID: FDBC9CBE1F82423F
11 changed files with 45 additions and 77 deletions

View file

@ -38,7 +38,7 @@ public class EntityManager extends Manager {
}
@EventHandler
public void onEntitySpawn(EntitySpawnEvent e) {
public void onEntitySpawn(@NotNull EntitySpawnEvent e) {
if (e.getEntity() instanceof Player) return;
if (isSREntity(e.getEntity().getUniqueId())) return;