mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-27 15:33:08 +00:00
One of them cleanups.
This commit is contained in:
1 parent
c8dbfdf90d
commit
ff7b82ca07
118 files changed
+555
-605
No files matched your search
@@ -471,7 +471,7 @@ public class EntityManaBurst extends EntityThrowable implements IManaBurst {
|
||||
ILensEffect lens = getLensInstance();
|
||||
if(lens != null && !lens.doParticles(this, getSourceLens()))
|
||||
return;
|
||||
|
||||
|
||||
Color color = new Color(getColor());
|
||||
float r = color.getRed() / 255F;
|
||||
float g = color.getGreen() / 255F;
|
||||
@@ -493,8 +493,8 @@ public class EntityManaBurst extends EntityThrowable implements IManaBurst {
|
||||
} else {
|
||||
boolean monocle = Botania.proxy.isClientPlayerWearingMonocle();
|
||||
if(monocle)
|
||||
Botania.proxy.setWispFXDepthTest(false);
|
||||
|
||||
Botania.proxy.setWispFXDepthTest(false);
|
||||
|
||||
if(ConfigHandler.subtlePowerSystem)
|
||||
Botania.proxy.wispFX(worldObj, posX, posY, posZ, r, g, b, 0.1F * size, (float) (Math.random() - 0.5F) * 0.02F, (float) (Math.random() - 0.5F) * 0.02F, (float) (Math.random() - 0.5F) * 0.01F);
|
||||
else {
|
||||
@@ -536,9 +536,9 @@ public class EntityManaBurst extends EntityThrowable implements IManaBurst {
|
||||
posY = savedPosY;
|
||||
posZ = savedPosZ;
|
||||
}
|
||||
|
||||
|
||||
if(monocle)
|
||||
Botania.proxy.setWispFXDepthTest(true);
|
||||
Botania.proxy.setWispFXDepthTest(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user