Still need to check this, since not being allied and being a valid target are not necessarily equivalent
This commit is contained in:
@@ -101,7 +101,7 @@ public class EntityRadiantTotem extends EntityScaledConstruct {
|
|||||||
|
|
||||||
EntityLivingBase target = nearby.remove(0);
|
EntityLivingBase target = nearby.remove(0);
|
||||||
|
|
||||||
if(EntityUtils.isLiving(target)){
|
if(EntityUtils.isLiving(target) && isValidTarget(target)){
|
||||||
|
|
||||||
if(target.ticksExisted % target.maxHurtResistantTime == 1){
|
if(target.ticksExisted % target.maxHurtResistantTime == 1){
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user