No need for markdirty here
This commit is contained in:
@@ -379,8 +379,6 @@ public class TileController extends TileBase implements IEnergyReceiver, ISynchr
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
markDirty();
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -389,14 +387,10 @@ public class TileController extends TileBase implements IEnergyReceiver, ISynchr
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack take(ItemStack stack) {
|
public ItemStack take(ItemStack stack) {
|
||||||
markDirty();
|
|
||||||
|
|
||||||
return take(stack, RefinedStorageUtils.COMPARE_DAMAGE | RefinedStorageUtils.COMPARE_NBT);
|
return take(stack, RefinedStorageUtils.COMPARE_DAMAGE | RefinedStorageUtils.COMPARE_NBT);
|
||||||
}
|
}
|
||||||
|
|
||||||
public ItemStack take(ItemStack stack, int flags) {
|
public ItemStack take(ItemStack stack, int flags) {
|
||||||
markDirty();
|
|
||||||
|
|
||||||
int requested = stack.stackSize;
|
int requested = stack.stackSize;
|
||||||
int receiving = 0;
|
int receiving = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user