0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-19 17:02:13 +02:00

Remove unnecessary RotationUtils.getEyesPos() call

This commit is contained in:
Alexander01998 2024-05-10 14:34:51 +02:00
parent c37283dd3d
commit 99f4272a6e

View File

@ -146,7 +146,7 @@ public final class BonemealAuraHack extends Hack implements UpdateListener
private ArrayList<BlockPos> getValidBlocks()
{
Vec3d eyesVec = RotationUtils.getEyesPos();
BlockPos eyesBlock = BlockPos.ofFloored(RotationUtils.getEyesPos());
BlockPos eyesBlock = BlockPos.ofFloored(eyesVec);
double rangeSq = range.getValueSq();
int blockRange = range.getValueCeil();