This commit is contained in:
Anuken
2022-02-07 16:09:15 -05:00
parent 77410ce106
commit c5bffd887e
5 changed files with 17 additions and 5 deletions

View File

@@ -181,7 +181,7 @@ public class Units{
if(check.get(unit)){
unit.hitboxTile(hitrect);
if(hitrect.overlaps(aeX, aeY, aeW, aeH)){
if(hitrect.overlaps(x, y, width, height)){
boolResult = true;
}
}