mirror of
https://github.com/SimplexDevelopment/FreedomNetworkSuite.git
synced 2025-07-01 05:06:42 +00:00
Slight bugfix, also more code spec alignment
This commit is contained in:
@ -31,7 +31,7 @@ public class EventRegistry
|
||||
{
|
||||
if (clazz.isInstance(event))
|
||||
{
|
||||
return () -> (T) event;
|
||||
return () -> clazz.cast(event);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user