From 805f696cf56a4c7e4a8f07e9d1b212ccd919323a Mon Sep 17 00:00:00 2001 From: Alix_the_Alicorn/Jmanpenilla Date: Mon, 12 May 2014 21:21:09 -0700 Subject: [PATCH] Made Saws not stackable. Easy fix, figured just make a PR, instead of making an issue. --- src/codechicken/microblock/ItemSaw.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/codechicken/microblock/ItemSaw.scala b/src/codechicken/microblock/ItemSaw.scala index e879c73..ba2530f 100644 --- a/src/codechicken/microblock/ItemSaw.scala +++ b/src/codechicken/microblock/ItemSaw.scala @@ -43,6 +43,7 @@ class ItemSaw(sawTag:ConfigTag, val harvestLevel:Int) extends Item with Saw if(maxDamage > 0) setMaxDamage(maxDamage) setNoRepair() + setMaxStackSize(1); } override def hasContainerItem = true @@ -95,4 +96,4 @@ object ItemSawRenderer extends IItemRenderer CCRenderState.draw() GL11.glEnable(GL11.GL_CULL_FACE) } -} \ No newline at end of file +}