Update mappings

Signed-off-by: cpw <[email protected]>
This commit is contained in:
cpw committed 2019-06-08 10:45:28 -04:00
1 parent fc04a65a0f
commit 9fa4641cb0
46 files changed
+149 -141

No files matched your search

@@ -186,7 +186,7 @@ public class ForgeEventFactory
{
Result result = canEntitySpawn(entity, world, x, y, z, spawner);
if (result == Result.DEFAULT)
return entity.func_213380_a(world, SpawnReason.SPAWNER) || !entity.isNotColliding(world); // vanilla logic
return entity.canSpawn(world, SpawnReason.SPAWNER) || !entity.isNotColliding(world); // vanilla logic
else
return result == Result.ALLOW;
}
@@ -372,7 +372,7 @@ public class ForgeEventFactory
if (event.getResult() == Result.ALLOW)
{
if (player.abilities.isCreativeMode)
if (player.playerAbilities.isCreativeMode)
return new ActionResult<ItemStack>(ActionResultType.SUCCESS, stack);
stack.shrink(1);