Fix spelling of 'incense'

This commit is contained in:
Arcaratus 2015-11-07 11:54:36 -05:00
parent 2fc34a5138
commit 806f291d02
2 changed files with 4 additions and 4 deletions

View file

@ -7,8 +7,8 @@ import net.minecraft.nbt.NBTTagCompound;
public class IncenseHelper {
public static float getCurrentIncense(EntityPlayer player) {
NBTTagCompound data = player.getEntityData();
if (data.hasKey(NBTHolder.NBT_CURRENT_INSENCE)) {
return data.getFloat(NBTHolder.NBT_CURRENT_INSENCE);
if (data.hasKey(NBTHolder.NBT_CURRENT_INCENSE)) {
return data.getFloat(NBTHolder.NBT_CURRENT_INCENSE);
}
return 0;
@ -16,6 +16,6 @@ public class IncenseHelper {
public static void setCurrentIncense(EntityPlayer player, float amount) {
NBTTagCompound data = player.getEntityData();
data.setFloat(NBTHolder.NBT_CURRENT_INSENCE, amount);
data.setFloat(NBTHolder.NBT_CURRENT_INCENSE, amount);
}
}