mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
Commented on now dead code which happens to be public.
This commit is contained in:
1 parent
f5e67dd529
commit
ae7a5e22d6
1 file changed
+6
@@ -216,6 +216,12 @@ public class LavaTankBlock extends BlockContainer {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This was probably not meant to be public and should ideally be removed. It's a direct copy of code found in
|
||||
* buildcraft.core.lib.inventory.InvUtils.
|
||||
* <p>
|
||||
* In any case it is no longer useful here.
|
||||
*/
|
||||
public static ItemStack consumeItem(ItemStack stack) {
|
||||
if (stack.stackSize == 1) {
|
||||
if (stack.getItem().hasContainerItem()) return stack.getItem().getContainerItem(stack);
|
||||
|
||||
Reference in new issue
Block a user