Skip to content

Commit

Permalink
Merge pull request #313 from skyem123/fix-issue-312
Browse files Browse the repository at this point in the history
Fix #312
  • Loading branch information
Victorious3 committed Oct 28, 2015
2 parents 5ca589b + ddfb011 commit 87447c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mod_version = 0.13.1.126
mod_version = 0.13.1.127

minecraft_version = 1.7.10
forge_version = 10.13.4.1492-1.7.10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import net.minecraft.nbt.CompressedStreamTools;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import net.minecraft.world.storage.SaveHandler;

/** Holds all CratePileData objects for one world / dimension. */
public class CratePileCollection {
Expand Down Expand Up @@ -104,7 +103,7 @@ public CratePileData load(int id) {
}

private File getSaveDirectory() {
File saveFolder = ((SaveHandler)world.getSaveHandler()).getWorldDirectory();
File saveFolder = world.getSaveHandler().getWorldDirectory();
return new File(saveFolder, "data" + File.separator + "crates");
}
private File getSaveFile(int id) {
Expand Down

0 comments on commit 87447c5

Please sign in to comment.