Code Cleanup / Reformat

This commit is contained in:
Kam committed 2025-05-20 13:53:26 -04:00
1 parent 800eec4d81
commit 43bc1eb81f
40 files changed
+258 -243

No files matched your search

+4 -4
View File
@@ -116,9 +116,9 @@ public class DataStats {
compound.setBoolean("FiringSoundBegin", onSoundBegin);
compound.setByte("AimType", aimType);
compound.setBoolean("ProjectilesKeepTerrain", projectilesKeepTerrain);
if(pTrail == EnumParticleType.Custom)
if (pTrail == EnumParticleType.Custom)
compound.setTag("pCustom", pCustom.writeToNBT());
if(pEffect == EnumPotionType.Fire)
if (pEffect == EnumPotionType.Fire)
compound.setBoolean("pBurnItem", pBurnItem);
compound.setBoolean("ImmuneToFire", immuneToFire);
@@ -185,9 +185,9 @@ public class DataStats {
onSoundBegin = compound.getBoolean("FiringSoundBegin");
aimType = compound.getByte("AimType");
projectilesKeepTerrain = compound.getBoolean("ProjectilesKeepTerrain");
if(pTrail == EnumParticleType.Custom)
if (pTrail == EnumParticleType.Custom)
pCustom = ScriptParticle.fromNBT(compound.getCompoundTag("pCustom"));
if(pEffect == EnumPotionType.Fire)
if (pEffect == EnumPotionType.Fire)
pBurnItem = compound.getBoolean("pBurnItem");
immuneToFire = compound.getBoolean("ImmuneToFire");