Updated forge and mappings

This commit is contained in:
drcrazy 2019-04-01 17:22:59 +03:00
parent 67c9c8721e
commit c122a480e5
2 changed files with 4 additions and 4 deletions

View file

@ -81,8 +81,8 @@ public class BlockNuke extends BaseBlock {
if (!worldIn.isRemote && entityIn instanceof EntityArrow) {
EntityArrow entityarrow = (EntityArrow) entityIn;
EntityLivingBase shooter = null;
if (entityarrow.func_212360_k() instanceof EntityLivingBase) {
shooter = (EntityLivingBase) entityarrow.func_212360_k();
if (entityarrow.getShooter() instanceof EntityLivingBase) {
shooter = (EntityLivingBase) entityarrow.getShooter();
}
if (entityarrow.isBurning()) {
ignite(worldIn, pos, state, shooter);