mirror of
https://github.com/funkemunky/KauriV3.git
synced 2026-06-02 14:32:17 +00:00
Improved hitboxes, added Timer check, organized checks
This commit is contained in:
@@ -57,8 +57,18 @@ public class EntityLocationHandler {
|
||||
}
|
||||
|
||||
entityLocationMap.values().forEach(eloc -> {
|
||||
if(eloc.one != null) eloc.one.interpolateLocation();
|
||||
if(eloc.two != null) eloc.two.interpolateLocation();
|
||||
if(eloc.one != null) {
|
||||
eloc.one.interpolateLocation();
|
||||
if(streak > 2 && eloc.one.interpolatedLocations.size() > 1) {
|
||||
eloc.one.interpolatedLocations.removeFirst();
|
||||
}
|
||||
}
|
||||
if(eloc.two != null) {
|
||||
eloc.two.interpolateLocation();
|
||||
if(streak > 2 && eloc.two.interpolatedLocations.size() > 1) {
|
||||
eloc.two.interpolatedLocations.removeFirst();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
lastFlying.reset();
|
||||
|
||||
Reference in New Issue
Block a user