Updated client snapshot system, fixed stuck respawn bug

This commit is contained in:
Anuken
2018-06-09 13:44:24 -04:00
parent be2fa1dfad
commit 30e13259b3
8 changed files with 59 additions and 18 deletions
@@ -188,7 +188,7 @@ public class Units {
EntityPhysics.getNearby(group, rect, entity -> cons.accept((Unit)entity));
}
//now check all ally players
//now check all players
EntityPhysics.getNearby(playerGroup, rect, player -> {
if(((Unit)player).team == team) cons.accept((Unit)player);
});