• Guest, we are doing a new map (refresh) for Herocraft. Gather your friends and get ready! Coming next Friday, 06/28/24 @ 7PM CT play.hc.to
    Read up on the guides and new systems! Here.
    View the LIVE Map here @ hc.to/map
    Stuck or have a problem? use "/pe create" to to open a ticket with staff (There are some known issues and other hotfixes we will be pushing asap)
  • Guest, Make sure to use our LAUNCHER! Read more here!

Resolved Bash does not make neutral mobs aggressive

Status
Not open for further replies.

Roadkill909

ICE ICE ICE!
Joined
Feb 4, 2012
Location
United States
Like the title says, if I bash a neutral mob like a spider (in the day) or an enderman, the monster will not attack me. Not sure if this is intentional or an oversight. Haven't tested with other skills.

Easy fix though
Code:
if(livingEntity instanceof Monster){
    ((Monster) livingEntity).setTarget(player);
}
 

Kainzo

The Disposable Hero
Staff member
Founder
Adventure Team
Joined
Jan 7, 2011
Location
The 7th Circle of Heaven
Like the title says, if I bash a neutral mob like a spider (in the day) or an enderman, the monster will not attack me. Not sure if this is intentional or an oversight. Haven't tested with other skills.

Easy fix though
Code:
if(livingEntity instanceof Monster){
    ((Monster) livingEntity).setTarget(player);
}
A fix has been implemented for 3.62 - test it then and let us know.
 
Status
Not open for further replies.
Top