mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-23 13:39:39 +00:00
fixed giving 2 at start of holding
This commit is contained in:
1 parent
f2412f191b
commit
a5070f8ed8
1 file changed
+2
-2
+2
-2
@@ -73,7 +73,7 @@ public abstract class TileEntityDrawers extends BaseTileEntity implements IDrawe
|
||||
private boolean hideUpgrade = false;
|
||||
private boolean downgraded = false;
|
||||
|
||||
private int ticksClickedInARow = 10000;
|
||||
private int ticksClickedInARow = 9;
|
||||
private int itemsOutputInARow = 0;
|
||||
public boolean clickedOnPreviousTick = false;
|
||||
|
||||
@@ -98,7 +98,7 @@ public abstract class TileEntityDrawers extends BaseTileEntity implements IDrawe
|
||||
if (clickedOnPreviousTick) {
|
||||
ticksClickedInARow++;
|
||||
} else {
|
||||
ticksClickedInARow = 10000; // set high so that it always registers on first click!
|
||||
ticksClickedInARow = 9; // set high so that it always registers on first click!
|
||||
itemsOutputInARow = 0;
|
||||
}
|
||||
clickedOnPreviousTick = false;
|
||||
|
||||
Reference in new issue
Block a user