mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +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 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++) {
|
||||
Vec3d point = shape.computePoint(entity.getEntityWorld().rand);
|
||||
|
|
Loading…
Reference in a new issue