mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 04:32:23 +00:00
Remove old fix for vanilla particle bug
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user