Changed formatting to have bracing on a new line

This commit is contained in:
WayofTime 2015-12-30 15:34:40 -05:00
parent e5eddd6c45
commit e48eedb874
189 changed files with 6092 additions and 4041 deletions

View file

@ -4,18 +4,22 @@ import WayofTime.bloodmagic.api.Constants;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
public class IncenseHelper {
public class IncenseHelper
{
public static float getCurrentIncense(EntityPlayer player) {
public static float getCurrentIncense(EntityPlayer player)
{
NBTTagCompound data = player.getEntityData();
if (data.hasKey(Constants.NBT.CURRENT_INCENSE)) {
if (data.hasKey(Constants.NBT.CURRENT_INCENSE))
{
return data.getFloat(Constants.NBT.CURRENT_INCENSE);
}
return 0;
}
public static void setCurrentIncense(EntityPlayer player, float amount) {
public static void setCurrentIncense(EntityPlayer player, float amount)
{
NBTTagCompound data = player.getEntityData();
data.setFloat(Constants.NBT.CURRENT_INCENSE, amount);
}