mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Adjust the default particle spawn radius to include the player's thicc
This commit is contained in:
parent
38daa43291
commit
0d1f79bf71
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ public interface IPower<T extends IData> extends IKeyBind {
|
||||||
double halfDist = entity.getEyeHeight() / 1.5;
|
double halfDist = entity.getEyeHeight() / 1.5;
|
||||||
double middle = entity.getEntityBoundingBox().minY + halfDist;
|
double middle = entity.getEntityBoundingBox().minY + halfDist;
|
||||||
|
|
||||||
IShape shape = new Sphere(false, (float)halfDist);
|
IShape shape = new Sphere(false, (float)halfDist + entity.width);
|
||||||
|
|
||||||
for (int i = 0; i < count; i++) {
|
for (int i = 0; i < count; i++) {
|
||||||
Vec3d point = shape.computePoint(entity.getEntityWorld().rand);
|
Vec3d point = shape.computePoint(entity.getEntityWorld().rand);
|
||||||
|
|
Loading…
Reference in a new issue