mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Fixed the sashes not being counted as mana using items despite using mana. Closes #1237
This commit is contained in:
1 parent
2d3d0edfd6
commit
efde3004b6
1 file changed
+7
-1
@@ -27,6 +27,7 @@ import net.minecraftforge.event.entity.living.LivingEvent.LivingUpdateEvent;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import vazkii.botania.api.item.IBaubleRender;
|
||||
import vazkii.botania.api.mana.IManaUsingItem;
|
||||
import vazkii.botania.api.mana.ManaItemHandler;
|
||||
import vazkii.botania.client.lib.LibResources;
|
||||
import vazkii.botania.common.lib.LibItemNames;
|
||||
@@ -37,7 +38,7 @@ import cpw.mods.fml.common.gameevent.PlayerEvent;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
public class ItemTravelBelt extends ItemBauble implements IBaubleRender {
|
||||
public class ItemTravelBelt extends ItemBauble implements IBaubleRender, IManaUsingItem {
|
||||
|
||||
private static final ResourceLocation texture = new ResourceLocation(LibResources.MODEL_TRAVEL_BELT);
|
||||
@SideOnly(Side.CLIENT)
|
||||
@@ -150,4 +151,9 @@ public class ItemTravelBelt extends ItemBauble implements IBaubleRender {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean usesMana(ItemStack stack) {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user