Optimize some VersionedRunnables
Dieser Commit ist enthalten in:
Ursprung
042449e591
Commit
00e9e34877
@ -56,8 +56,7 @@ public abstract class BasicListener implements Listener, StateDependent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void setAttackSpeed(Player player){
|
void setAttackSpeed(Player player){
|
||||||
VersionedRunnable.call(new VersionedRunnable(() -> {}, 8),
|
VersionedRunnable.call(new VersionedRunnable(() -> BasicListener_9.setAttackSpeed(player), 9));
|
||||||
new VersionedRunnable(() -> BasicListener_9.setAttackSpeed(player), 9));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -88,8 +88,7 @@ public class TechHider {
|
|||||||
blockHider();
|
blockHider();
|
||||||
multiBlockHider();
|
multiBlockHider();
|
||||||
updateBlockEntity();
|
updateBlockEntity();
|
||||||
VersionedRunnable.call(new VersionedRunnable(() -> {}, 8),
|
VersionedRunnable.call(new VersionedRunnable(TechHider_12::start, 12),
|
||||||
new VersionedRunnable(TechHider_12::start, 12),
|
|
||||||
new VersionedRunnable(TechHider_14::start, 14),
|
new VersionedRunnable(TechHider_14::start, 14),
|
||||||
new VersionedRunnable(TechHider_15::start, 15));
|
new VersionedRunnable(TechHider_15::start, 15));
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren