geforkt von Mirrors/Paper
Fix entity tracking when the player is the vehicle
Fixes GH-378
Dieser Commit ist enthalten in:
Ursprung
10961ebac6
Commit
55e3d057b8
@ -73,7 +73,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ return false;
|
||||
+ }
|
||||
+ private static boolean isTrackedBy(Entity entity, EntityPlayer entityplayer) {
|
||||
+ return entity.tracker != null && entity.tracker.trackedPlayers.contains(entityplayer);
|
||||
+ return entity == entityplayer || entity.tracker != null && entity.tracker.trackedPlayers.contains(entityplayer);
|
||||
+ }
|
||||
+ private void updatePassengers(EntityPlayer player) {
|
||||
+ if (tracker.isVehicle()) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren