Skip to content
Permalink
Browse files

Turret particles firing still don't work, disabling for now.

  • Loading branch information...
Ri5ux Ri5ux
Ri5ux authored and Ri5ux committed Jul 15, 2019
1 parent a7a9ad4 commit 83dcaaf1e4dbe6366afe15c528d768c6730e452c
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/main/java/org/avp/tile/TileEntityTurret.java
@@ -63,7 +63,6 @@
import net.minecraft.network.NetworkManager;
import net.minecraft.network.play.server.SPacketUpdateTileEntity;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumParticleTypes;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.math.MathHelper;
import net.minecraft.util.math.RayTraceResult;
@@ -488,7 +487,7 @@ public void fire()
this.timeout = this.timeoutMax;
this.targetEntity.attackEntityFrom(DamageSources.bullet, 1F);
this.targetEntity.hurtResistantTime = 0;
this.world.spawnParticle(EnumParticleTypes.CLOUD, this.pos.x, this.pos.y, this.pos.z, 0, 10, 0);
// this.world.spawnParticle(EnumParticleTypes.CLOUD, this.pos.x, this.pos.y, this.pos.z, 0, 10, 0);
Sounds.WEAPON_M56SG.playSound(this.world, this.getPos().getX(), this.getPos().getY(), this.getPos().getZ(), 1F, 1F);
}

0 comments on commit 83dcaaf

Please sign in to comment.
You can’t perform that action at this time.