mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
Some last minute tweaks...
This commit is contained in:
1 parent
1256f398bb
commit
245ebe7847
2 files changed
+3
-3
No files matched your search
@@ -129,8 +129,8 @@ public class EntityBabylonWeapon extends EntityThrowableCopy {
|
||||
|
||||
if(living.hurtTime == 0) {
|
||||
if(player != null)
|
||||
living.attackEntityFrom(DamageSource.causePlayerDamage(player), 8);
|
||||
else living.attackEntityFrom(DamageSource.generic, 8);
|
||||
living.attackEntityFrom(DamageSource.causePlayerDamage(player), 14);
|
||||
else living.attackEntityFrom(DamageSource.generic, 14);
|
||||
onImpact(new MovingObjectPosition(living));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ public class ItemKingKey extends ItemRelic {
|
||||
public void onUsingTick(ItemStack stack, EntityPlayer player, int count) {
|
||||
int spawned = getWeaponsSpawned(stack);
|
||||
|
||||
if(ManaItemHandler.requestManaExact(stack, player, 150, true) && count != getMaxItemUseDuration(stack) && spawned < 20 && !player.worldObj.isRemote) {
|
||||
if(count != getMaxItemUseDuration(stack) && spawned < 20 && !player.worldObj.isRemote && ManaItemHandler.requestManaExact(stack, player, 150, true)) {
|
||||
Vector3 look = new Vector3(player.getLookVec());
|
||||
look.y = 0;
|
||||
look.normalize().negate().multiply(2);
|
||||
|
||||
Reference in new issue
Block a user