mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-01 12:36:41 +00:00
Forgot class paths, remove things lombok covers, and optimize imports
This commit is contained in:
@ -143,7 +143,7 @@ public class ItemFun extends FreedomService
|
||||
Vector playerDirection = location.getDirection().normalize();
|
||||
|
||||
double distance = 150.0;
|
||||
Block targetBlock = DepreciationAggregator.getTargetBlock(player, null, Math.round((float) distance));
|
||||
Block targetBlock = DepreciationAggregator.getTargetBlock(player, null, Math.round((float)distance));
|
||||
if (targetBlock != null)
|
||||
{
|
||||
distance = location.distance(targetBlock.getLocation());
|
||||
@ -200,7 +200,7 @@ public class ItemFun extends FreedomService
|
||||
Location player_pos = player.getLocation();
|
||||
Vector direction = player_pos.getDirection().normalize();
|
||||
|
||||
LivingEntity rezzed_mob = (LivingEntity) player.getWorld().spawnEntity(player_pos.add(direction.multiply(2.0)), fPlayer.mobThrowerCreature());
|
||||
LivingEntity rezzed_mob = (LivingEntity)player.getWorld().spawnEntity(player_pos.add(direction.multiply(2.0)), fPlayer.mobThrowerCreature());
|
||||
rezzed_mob.setVelocity(direction.multiply(fPlayer.mobThrowerSpeed()));
|
||||
fPlayer.enqueueMob(rezzed_mob);
|
||||
|
||||
|
Reference in New Issue
Block a user