Remove old fix for vanilla particle bug

This commit is contained in:
Vincent Lee committed 2019-04-04 23:21:30 -05:00
1 parent 055f03d319
commit 32b0f64127
2 files changed
-14

No files matched your search

@@ -160,13 +160,6 @@ public class FXSparkle extends Particle {
setExpired();
}
@Override
protected void setSize(float width, float height) {
super.setSize(width, height);
// fix MC-12269: the bb is expanded only in +X +Z directions by super, call setPosition again to recalculate a correct BB
setPosition(posX, posY, posZ);
}
public void setGravity(float value) {
particleGravity = value;
}
@@ -157,13 +157,6 @@ public class FXWisp extends Particle {
this.motionZ *= 0.9800000190734863D;
}
@Override
protected void setSize(float width, float height) {
super.setSize(width, height);
// fix MC-12269: the bb is expanded only in +X +Z directions by super, call setPosition again to recalculate a correct BB
setPosition(posX, posY, posZ);
}
public void setGravity(float value) {
particleGravity = value;
}