entity.setLocationAndAngles(respawnPos.getX() + 0.5D, respawnPos.getY() + 0.5d, respawnPos.getZ() + 0.5D, 0, 0);
world.spawnEntity(entity);
ItemStack newOffHand = requiredStackOffHand.copy();
player.setItemStackToSlot(EntityEquipmentSlot.OFFHAND, newOffHand);
}
<BUG>}
@Nullable</BUG>
public Entity createEntity(EntityPlayer player, World world, String type)
{
Entity entity = null;

entity.setLocationAndAngles(respawnPos.getX() + 0.5D, respawnPos.getY() + 0.5d, respawnPos.getZ() + 0.5D, 0, 0);
world.spawnEntity(entity);
ItemStack newOffHand = requiredStackOffHand.copy();
player.setItemStackToSlot(EntityEquipmentSlot.OFFHAND, newOffHand);
}
}
}
@Nullable
public Entity createEntity(EntityPlayer player, World world, String type)
{
Entity entity = null;
