排除自己的队友标记
This commit is contained in:
parent
1a1847512b
commit
83b81b1b46
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ public class VehicleTeamOverlay implements LayeredDraw.Layer {
|
|||
if (player.getVehicle() instanceof VehicleEntity) {
|
||||
List<Entity> entities = SeekTool.getPlayer(player, player.level());
|
||||
for (var e : entities) {
|
||||
if (e != null) {
|
||||
if (e != null && e != player) {
|
||||
Entity team = e;
|
||||
if (e.getVehicle() != null) {
|
||||
team = e.getVehicle();
|
||||
|
|
Loading…
Add table
Reference in a new issue