mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-27 15:33:08 +00:00
Misc todo fixes and cleanups
This commit is contained in:
1 parent
8553a4d5df
commit
43c5fadce5
4 files changed
+9
-18
No files matched your search
@@ -65,17 +65,6 @@ public class FXWisp extends Particle {
|
||||
|
||||
moteHalfLife = maxAge / 2;
|
||||
setSize(0.01F, 0.01F);
|
||||
Entity renderentity = Minecraft.getInstance().getRenderViewEntity();
|
||||
|
||||
// todo 1.14
|
||||
if(false) {
|
||||
int visibleDistance = 50;
|
||||
if (!Minecraft.getInstance().gameSettings.fancyGraphics)
|
||||
visibleDistance = 25;
|
||||
|
||||
if (renderentity == null || renderentity.getDistanceSq(posX, posY, posZ) > visibleDistance * visibleDistance)
|
||||
maxAge = 0;
|
||||
}
|
||||
|
||||
prevPosX = posX;
|
||||
prevPosY = posY;
|
||||
|
||||
Reference in new issue
Block a user