mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
Removed superfluous method call
This commit is contained in:
1 parent
ae7a5e22d6
commit
8e686f3fd6
1 file changed
+3
-2
@@ -150,8 +150,9 @@ public class LavaTankBlock extends BlockContainer {
|
||||
int amount = logic.fill(ForgeDirection.UNKNOWN, liquid, false);
|
||||
if (amount == liquid.amount) {
|
||||
logic.fill(ForgeDirection.UNKNOWN, liquid, true);
|
||||
if (!entityplayer.capabilities.isCreativeMode)
|
||||
replaceHeldItem(entityplayer, getEmptyContainer(entityplayer.inventory.getCurrentItem()));
|
||||
if (!entityplayer.capabilities.isCreativeMode) {
|
||||
replaceHeldItem(entityplayer, getEmptyContainer(current));
|
||||
}
|
||||
|
||||
// update
|
||||
entityplayer.inventoryContainer.detectAndSendChanges();
|
||||
|
||||
Reference in new issue
Block a user