mirror of
https://github.com/GTNewHorizons/EnderCore.git
synced 2026-11-22 12:59:53 +00:00
ContainerEnder doesn't need to be abstract
This commit is contained in:
1 parent
93b2bd3a81
commit
6c3d88d321
2 files changed
+2
-2
No files matched your search
@@ -11,7 +11,7 @@ import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public abstract class ContainerEnder<T extends IInventory> extends Container {
|
||||
public class ContainerEnder<T extends IInventory> extends Container {
|
||||
|
||||
protected Map<Slot, Point> playerSlotLocations = new HashMap<Slot, Point>();
|
||||
|
||||
|
||||
@@ -181,7 +181,7 @@ public class WorldCache<I> {
|
||||
|
||||
@SneakyThrows
|
||||
protected File getSaveFile() {
|
||||
return new File(DimensionManager.getCurrentSaveRootDirectory().getAbsolutePath() + "/" + ident + ".json");
|
||||
return new File(DimensionManager.getCurrentSaveRootDirectory(), ident + ".json");
|
||||
}
|
||||
|
||||
public void addObject(I object, String name) {
|
||||
|
||||
Reference in new issue
Block a user