More fixes
This commit is contained in:
@@ -1,16 +1,11 @@
|
||||
# Refined Storage Changelog
|
||||
|
||||
### 0.7.17-pre1
|
||||
When updating to this version, you'll have to break and replace your controller.
|
||||
|
||||
### 0.7.17
|
||||
**Bugfixes**
|
||||
- Fixed controller not working after leaving chunk
|
||||
- Fixed machines not working when leaving chunk
|
||||
- Fixed getting wrong items back in grid
|
||||
- Fixed wrong item getting crafted
|
||||
- Updated Forge to 1969
|
||||
- Updated JEI
|
||||
- Rewrote storage networks: they are now saved to disk, so big systems won't lag when rejoining a chunk
|
||||
|
||||
**Features**
|
||||
- New crafting settings gui
|
||||
|
||||
@@ -12,7 +12,7 @@ buildscript {
|
||||
}
|
||||
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||
|
||||
version = "0.7.17-pre1"
|
||||
version = "0.7.17"
|
||||
group = "refinedstorage"
|
||||
archivesBaseName = "refinedstorage"
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ import refinedstorage.proxy.CommonProxy;
|
||||
@Mod(modid = RefinedStorage.ID, version = RefinedStorage.VERSION)
|
||||
public final class RefinedStorage {
|
||||
public static final String ID = "refinedstorage";
|
||||
public static final String VERSION = "0.7.17-pre1";
|
||||
public static final String VERSION = "0.7.17";
|
||||
|
||||
public static final SimpleNetworkWrapper NETWORK = NetworkRegistry.INSTANCE.newSimpleChannel(ID);
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ public abstract class TileSlave extends TileBase implements INetworkSlave, ISync
|
||||
|
||||
if (network == null) {
|
||||
if (controller != null) {
|
||||
connect(world, network);
|
||||
connect(world, controller);
|
||||
}
|
||||
} else {
|
||||
if (controller == null) {
|
||||
|
||||
@@ -165,13 +165,13 @@ public class TileController extends TileBase implements INetworkMaster, IEnergyR
|
||||
|
||||
wirelessGridHandler.update();
|
||||
|
||||
if (type == EnumControllerType.NORMAL && energyUsage > 0) {
|
||||
if (getType() == EnumControllerType.NORMAL && energyUsage > 0) {
|
||||
if (energy.getEnergyStored() - energyUsage >= 0) {
|
||||
energy.extractEnergy(energyUsage, false);
|
||||
} else {
|
||||
energy.setEnergyStored(0);
|
||||
}
|
||||
} else if (type == EnumControllerType.CREATIVE) {
|
||||
} else if (getType() == EnumControllerType.CREATIVE) {
|
||||
energy.setEnergyStored(energy.getMaxEnergyStored());
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"modid": "refinedstorage",
|
||||
"name": "Refined Storage",
|
||||
"description": "A Minecraft mod all about storage.",
|
||||
"version": "0.7.17-pre1",
|
||||
"version": "0.7.17",
|
||||
"mcversion": "1.9.4",
|
||||
"url": "",
|
||||
"updateUrl": "",
|
||||
|
||||
Reference in New Issue
Block a user