mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
possible fix of 1.5.1.0 Wither skull drop #1833
This commit is contained in:
1 parent
b200b5f9b0
commit
5b2865b555
1 file changed
+1
-1
@@ -316,7 +316,7 @@ public class TinkerToolEvents
|
||||
|
||||
if (event.recentlyHit)
|
||||
{
|
||||
if (event.entityLiving.getClass() == EntitySkeleton.class)
|
||||
if (event.entityLiving instanceof EntitySkeleton)
|
||||
{
|
||||
EntitySkeleton enemy = (EntitySkeleton) event.entityLiving;
|
||||
|
||||
|
||||
Reference in new issue
Block a user