diff --git a/src/main/java/com/minelittlepony/unicopia/entity/mob/AirBalloonEntity.java b/src/main/java/com/minelittlepony/unicopia/entity/mob/AirBalloonEntity.java index a606fc4a..247de5bd 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/mob/AirBalloonEntity.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/mob/AirBalloonEntity.java @@ -340,7 +340,7 @@ public class AirBalloonEntity extends MobEntity implements EntityCollisions.Comp } stack.damage(1, player, p -> p.sendToolBreakStatus(hand)); playSound(USounds.Vanilla.ITEM_FLINTANDSTEEL_USE, 1, 1); - getWorld().emitGameEvent(this, GameEvent.ENTITY_INTERACT, getBlockPos()); + getWorld().emitGameEvent(player, GameEvent.ENTITY_INTERACT, getBlockPos()); return ActionResult.SUCCESS; } @@ -352,7 +352,7 @@ public class AirBalloonEntity extends MobEntity implements EntityCollisions.Comp } } else if (stack.isEmpty() && isAscending()) { setBoostTicks(50); - getWorld().emitGameEvent(this, GameEvent.ENTITY_INTERACT, getBlockPos()); + getWorld().emitGameEvent(player, GameEvent.ENTITY_INTERACT, getBlockPos()); } } } @@ -369,7 +369,7 @@ public class AirBalloonEntity extends MobEntity implements EntityCollisions.Comp stack.decrement(1); } playSound(USounds.ENTITY_HOT_AIR_BALLOON_EQUIP_CANOPY, 1, 1); - getWorld().emitGameEvent(this, GameEvent.ENTITY_INTERACT, getBlockPos()); + getWorld().emitGameEvent(player, GameEvent.ENTITY_INTERACT, getBlockPos()); setDesign(HotAirBalloonItem.getDesign(getWorld(), stack)); return ActionResult.SUCCESS; } @@ -381,7 +381,7 @@ public class AirBalloonEntity extends MobEntity implements EntityCollisions.Comp setDesign(BalloonDesign.NONE); dropItem(UItems.GIANT_BALLOON); playSound(USounds.ENTITY_HOT_AIR_BALLOON_EQUIP_CANOPY, 1, 1); - getWorld().emitGameEvent(this, GameEvent.ENTITY_INTERACT, getBlockPos()); + getWorld().emitGameEvent(player, GameEvent.ENTITY_INTERACT, getBlockPos()); return ActionResult.SUCCESS; } @@ -391,7 +391,7 @@ public class AirBalloonEntity extends MobEntity implements EntityCollisions.Comp stack.decrement(1); } playSound(USounds.ENTITY_HOT_AIR_BALLOON_EQUIP_BURNER, 0.2F, 1); - getWorld().emitGameEvent(this, GameEvent.ENTITY_INTERACT, getBlockPos()); + getWorld().emitGameEvent(player, GameEvent.ENTITY_INTERACT, getBlockPos()); return ActionResult.SUCCESS; }