Sentry Issue #223481223, #223481117
Reverse check so RHS can be null Steps to reproduce: 1) Pick Wither Skeleton in SSM 2) Throw wither image away from other player so it has no target 3) When it's standing still (i.e no target), have the other player punch the image
This commit is contained in:
parent
0725639852
commit
7e9211815f
@ -169,7 +169,7 @@ public class PerkWitherImage extends SmashPerk
|
||||
}
|
||||
}
|
||||
|
||||
if (event.getTarget() != null && _skeletons.get(event.getTarget().getUniqueId()).equals(event.getEntity()))
|
||||
if (event.getTarget() != null && event.getEntity().equals(_skeletons.get(event.getTarget().getUniqueId())))
|
||||
{
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user