mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
Fix #2724
This commit is contained in:
1 parent
0df5f64210
commit
651b17a9e6
1 file changed
+1
-2
@@ -452,8 +452,7 @@ public class EntityDoppleganger extends EntityLiving implements IBotaniaBoss, IE
|
||||
protected void dropLoot(boolean wasRecentlyHit, int lootingModifier, @Nonnull DamageSource source)
|
||||
{
|
||||
// Save true killer, they get extra loot
|
||||
if ("player".equals(source.getDamageType())
|
||||
&& source.getTrueSource() instanceof EntityPlayer) {
|
||||
if (wasRecentlyHit && source.getTrueSource() instanceof EntityPlayer) {
|
||||
trueKiller = (EntityPlayer) source.getTrueSource();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user