Reduced range of Valkyrie Lances from 10 blocks to 8 blocks (the range from the original mod).

This commit is contained in:
bconlon 2020-06-18 16:58:17 -07:00
parent 506916daa3
commit 5041a91109

View file

@ -64,7 +64,7 @@ public class ItemValkyrieLance extends ItemSword {
Vec3 vec = Vec3.createVectorHelper(ent.posX - player.posX, ent.boundingBox.minY + ent.height / 2f - player.posY - player.getEyeHeight(), ent.posZ - player.posZ);
double len = vec.lengthVector();
if (len > 10.0F) {
if (len > 8.0F) {
continue;
}