mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-22 05:02:25 +00:00
Fixed issues when day/night cycle disabled.
This commit is contained in:
1 parent
a924e35d39
commit
b4e64657e4
8 files changed
+15
-15
No files matched your search
@@ -85,7 +85,7 @@ public abstract class AbstractTankConduit extends AbstractLiquidConduit {
|
||||
} else if(player.getCurrentEquippedItem().getItem() == Items.bucket) {
|
||||
|
||||
if(!getBundle().getEntity().getWorldObj().isRemote) {
|
||||
long curTick = getBundle().getEntity().getWorldObj().getWorldTime();
|
||||
long curTick = getBundle().getEntity().getWorldObj().getTotalWorldTime();
|
||||
if(curTick - lastEmptyTick < 20) {
|
||||
numEmptyEvents++;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user