mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
actually call canFit
This commit is contained in:
1 parent
7e5974cd7c
commit
f641e165b0
1 file changed
+1
-1
@@ -94,7 +94,7 @@ public class TileAltar extends TileSimpleInventory implements ISidedInventory, I
|
||||
|
||||
boolean didChange = false;
|
||||
|
||||
if(stack.getItem() instanceof IFlowerComponent) {
|
||||
if(stack.getItem() instanceof IFlowerComponent && ((IFlowerComponent) stack.getItem()).canFit(stack, this)) {
|
||||
if(getStackInSlot(getSizeInventory() - 1) != null)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user