Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-26 00:00:55 +01:00
Cache all types in EventTypeTracker
Dieser Commit ist enthalten in:
Ursprung
62d234bb26
Commit
2124b5ec12
@ -18,7 +18,6 @@
|
|||||||
package com.velocitypowered.proxy.event;
|
package com.velocitypowered.proxy.event;
|
||||||
|
|
||||||
import com.google.common.collect.HashMultimap;
|
import com.google.common.collect.HashMultimap;
|
||||||
import com.google.common.collect.ImmutableList;
|
|
||||||
import com.google.common.collect.ImmutableSet;
|
import com.google.common.collect.ImmutableSet;
|
||||||
import com.google.common.collect.Multimap;
|
import com.google.common.collect.Multimap;
|
||||||
import com.google.common.reflect.TypeToken;
|
import com.google.common.reflect.TypeToken;
|
||||||
@ -45,6 +44,7 @@ class EventTypeTracker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
friends.put(type, eventType);
|
friends.put(type, eventType);
|
||||||
|
friends.put(eventType, type);
|
||||||
}
|
}
|
||||||
return types;
|
return types;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren