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

@ -65,7 +65,7 @@ if (ENV.BUILD_NUMBER) {
}
minecraft {
mappings channel: 'snapshot', version: '20190222-1.13.1'
mappings channel: 'snapshot', version: '20190401-1.13.2'
runs {
client {
@ -107,7 +107,7 @@ license {
group = 'TechReborn'
dependencies {
minecraft 'net.minecraftforge:forge:1.13.2-25.0.70'
minecraft 'net.minecraftforge:forge:1.13.2-25.0.107'
if (findProject(':reborncore') != null) {
compile project(":reborncore")

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);