mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 22:45:09 +00:00
Code Cleanup / Reformat
This commit is contained in:
1 parent
800eec4d81
commit
43bc1eb81f
40 files changed
+258
-243
No files matched your search
@@ -386,12 +386,12 @@ public class EntityProjectile extends EntityThrowable {
|
||||
|
||||
if (worldObj.isRemote && !this.dataWatcher.getWatchableObjectString(22).isEmpty()) {
|
||||
String particle = this.dataWatcher.getWatchableObjectString(22);
|
||||
if(!particle.equals("custom")){
|
||||
if (!particle.equals("custom")) {
|
||||
this.worldObj.spawnParticle(particle, this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D);
|
||||
|
||||
}
|
||||
} else if (!worldObj.isRemote){
|
||||
if(this.npc != null && this.npc.stats.pTrail == EnumParticleType.Custom){
|
||||
} else if (!worldObj.isRemote) {
|
||||
if (this.npc != null && this.npc.stats.pTrail == EnumParticleType.Custom) {
|
||||
this.npc.stats.pCustom.setPosition(this.posX, this.posY, this.posZ);
|
||||
spawnScriptedParticle(this.npc.stats.pCustom.writeToNBT(), this.npc);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user