Skip to content

Commit

Permalink
Update engine/src/main/java/org/terasology/engine/entitySystem/event/…
Browse files Browse the repository at this point in the history
…internal/EventSystemImpl.java

Co-authored-by: jdrueckert <[email protected]>
  • Loading branch information
soloturn and jdrueckert authored Feb 24, 2024
1 parent b3efe23 commit 1380197
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public void process() {
@Override
public void registerEvent(ResourceUrn uri, Class<? extends Event> eventType) {
eventIdMap.put(uri, eventType);
logger.atDebug().addArgument(() -> eventType.getSimpleName()).log("Registering event {}");
logger.debug("Registering event {}", eventType.getSimpleName()); //NOPMD
for (Class parent : ReflectionUtils.getAllSuperTypes(eventType, Predicates.subtypeOf(Event.class))) {
if (!AbstractConsumableEvent.class.equals(parent) && !Event.class.equals(parent)) {
childEvents.put(parent, eventType);
Expand Down

0 comments on commit 1380197

Please sign in to comment.