Don't try to find the isAsyncPacket method over and over again.
Dieser Commit ist enthalten in:
Ursprung
6063f437fd
Commit
e666d17dc2
@ -256,7 +256,7 @@ public class AsyncMarker implements Serializable, Comparable<AsyncMarker> {
|
|||||||
*/
|
*/
|
||||||
public boolean isMinecraftAsync(PacketEvent event) throws FieldAccessException {
|
public boolean isMinecraftAsync(PacketEvent event) throws FieldAccessException {
|
||||||
|
|
||||||
if (isMinecraftAsync == null) {
|
if (isMinecraftAsync == null && !alwaysSync) {
|
||||||
try {
|
try {
|
||||||
isMinecraftAsync = FuzzyReflection.fromClass(Packet.class).getMethodByName("a_.*");
|
isMinecraftAsync = FuzzyReflection.fromClass(Packet.class).getMethodByName("a_.*");
|
||||||
} catch (RuntimeException e) {
|
} catch (RuntimeException e) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren