Skip to content

Commit 50a3793

Browse files
committed
bump version
1 parent dcca815 commit 50a3793

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ buildscript {
2929
apply plugin: 'net.minecraftforge.gradle.forge'
3030
apply plugin: 'idea'
3131

32-
version = "2.5.11-r"
32+
version = "2.5.12-r"
3333
group = "ae2fc"
3434
archivesBaseName = "Fluid Craft for AE2"
3535

src/main/java/com/glodblock/github/common/tile/TileFluidDiscretizer.java

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ private IEnergyGrid getEnergyGrid() {
131131
@Nullable
132132
private IMEMonitor<IAEFluidStack> getFluidGrid() {
133133
try {
134-
return getProxy().getGrid().<IStorageGrid>getCache(IStorageGrid.class)
135-
.getInventory(Util.getFluidChannel());
134+
return getProxy().getGrid().<IStorageGrid>getCache(IStorageGrid.class).getInventory(Util.getFluidChannel());
136135
} catch (GridAccessException e) {
137136
return null;
138137
}
@@ -221,16 +220,15 @@ public void postChange(IBaseMonitor<IAEFluidStack> monitor, Iterable<IAEFluidSta
221220
boolean isNg = false;
222221
if (fluidStack.getStackSize() < 0) {
223222
isNg = true;
224-
fluidStack.setStackSize( - fluidStack.getStackSize() );
223+
fluidStack.setStackSize(-fluidStack.getStackSize());
225224
}
226225
IAEItemStack itemStack = FakeFluids.packFluid2AEDrops(fluidStack);
227226
if (itemStack != null) {
228-
if (isNg) itemStack.setStackSize( - itemStack.getStackSize() );
227+
if (isNg) itemStack.setStackSize(-itemStack.getStackSize());
229228
mappedChanges.add(itemStack);
230229
}
231230
}
232-
getProxy().getGrid().<IStorageGrid>getCache(IStorageGrid.class)
233-
.postAlterationOfStoredItems(getChannel(), mappedChanges, ownActionSource);
231+
getProxy().getGrid().<IStorageGrid>getCache(IStorageGrid.class).postAlterationOfStoredItems(getChannel(), mappedChanges, ownActionSource);
234232
} catch (GridAccessException e) {
235233
// NO-OP
236234
}
@@ -271,8 +269,7 @@ public IAEStack injectItems(IAEStack aeStack, Actionable type, IActionSource src
271269
return null;
272270
}
273271
if (craftingGrid instanceof CraftingGridCache) {
274-
IAEItemStack remaining = ((CraftingGridCache)craftingGrid).injectItems(
275-
FakeFluids.packFluid2AEDrops(input), type, ownActionSource);
272+
IAEItemStack remaining = ((CraftingGridCache)craftingGrid).injectItems(FakeFluids.packFluid2AEDrops(input), type, ownActionSource);
276273
if (remaining != null) {
277274
return FakeItemRegister.getAEStack(remaining);
278275
}

0 commit comments

Comments
 (0)