Changed EventEntry to getlast

This commit is contained in:
lieght
2025-09-10 20:11:43 +02:00
parent 843ad3b3bd
commit a80cd5aca1

View File

@@ -63,7 +63,7 @@ public class EventRegistry {
if (entries == null || entries.isEmpty()) {
return null;
}
return (EventEntry<T>) entries.get(entries.size() - 1);
return (EventEntry<T>) entries.getLast();
}
/**