mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 14:34:36 +00:00
Lots of name substitutions
This commit is contained in:
1 parent
316363d729
commit
5821ede5e6
512 files changed
+1585
-1568
No files matched your search
@@ -15,9 +15,9 @@ import java.util.List;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.util.math.AxisAlignedBB;
|
||||
import net.minecraft.util.DamageSource;
|
||||
import net.minecraft.util.MovingObjectPosition;
|
||||
import net.minecraft.util.math.RayTraceResult;
|
||||
import net.minecraft.world.World;
|
||||
import vazkii.botania.common.Botania;
|
||||
import vazkii.botania.common.core.handler.ConfigHandler;
|
||||
@@ -55,7 +55,7 @@ public class EntityFallingStar extends EntityThrowableCopy {
|
||||
continue;
|
||||
|
||||
if(living.hurtTime == 0) {
|
||||
onImpact(new MovingObjectPosition(living));
|
||||
onImpact(new RayTraceResult(living));
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -66,7 +66,7 @@ public class EntityFallingStar extends EntityThrowableCopy {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onImpact(MovingObjectPosition pos) {
|
||||
protected void onImpact(RayTraceResult pos) {
|
||||
EntityLivingBase thrower = getThrower();
|
||||
if(pos.entityHit != null && thrower != null && pos.entityHit != thrower && !pos.entityHit.isDead) {
|
||||
if(thrower instanceof EntityPlayer)
|
||||
|
||||
Reference in new issue
Block a user