Skip to content

Commit

Permalink
Fix revolvershots having impact sounds like an arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
BluSunrize committed Jun 27, 2024
1 parent e26aa21 commit b673d3c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import net.minecraft.network.syncher.EntityDataAccessor;
import net.minecraft.network.syncher.EntityDataSerializers;
import net.minecraft.network.syncher.SynchedEntityData;
import net.minecraft.sounds.SoundEvents;
import net.minecraft.world.damagesource.DamageSource;
import net.minecraft.world.entity.*;
import net.minecraft.world.entity.player.Player;
Expand Down Expand Up @@ -50,6 +51,7 @@ public IEProjectileEntity(EntityType<? extends IEProjectileEntity> type, Level w
{
super(type, world, ItemStack.EMPTY);
this.pickup = Pickup.DISALLOWED;
this.setSoundEvent(SoundEvents.EMPTY);
}

public IEProjectileEntity(EntityType<? extends IEProjectileEntity> type, Level world, double x, double y, double z)
Expand Down

0 comments on commit b673d3c

Please sign in to comment.