From b5b2d892177a76c93fd2e1401cc99a2e53e814a4 Mon Sep 17 00:00:00 2001 From: Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com> Date: Tue, 16 Aug 2022 07:50:36 +0100 Subject: Fix Wireless EU not transferring 2A/operation (#1265) * Useless import * Lower case for methods * Double transfer rate for machines using two hatches. Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com> --- src/main/java/gregtech/api/interfaces/IGlobalWirelessEnergy.java | 4 ++-- .../api/interfaces/tileentity/IWirelessEnergyHatchInformation.java | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/main/java/gregtech/api/interfaces') diff --git a/src/main/java/gregtech/api/interfaces/IGlobalWirelessEnergy.java b/src/main/java/gregtech/api/interfaces/IGlobalWirelessEnergy.java index a4b3129bc3..cec499c5d3 100644 --- a/src/main/java/gregtech/api/interfaces/IGlobalWirelessEnergy.java +++ b/src/main/java/gregtech/api/interfaces/IGlobalWirelessEnergy.java @@ -112,7 +112,7 @@ public interface IGlobalWirelessEnergy { createStorageIfNotExist(world_name); loadGlobalEnergyMap(world); loadGlobalEnergyName(world); - LoadGlobalEnergyTeam(world); + loadGlobalEnergyTeam(world); } default void loadGlobalEnergyMap(World world) { @@ -149,7 +149,7 @@ public interface IGlobalWirelessEnergy { } } - default void LoadGlobalEnergyTeam(World world) { + default void loadGlobalEnergyTeam(World world) { try { Path path = Paths.get("./saves/" + world.getWorldInfo().getWorldName() + "/" + GlobalEnergyFolderName + "/" + GlobalEnergyTeamFileName + ".txt").toAbsolutePath(); diff --git a/src/main/java/gregtech/api/interfaces/tileentity/IWirelessEnergyHatchInformation.java b/src/main/java/gregtech/api/interfaces/tileentity/IWirelessEnergyHatchInformation.java index fb6492d894..fa58e5dd54 100644 --- a/src/main/java/gregtech/api/interfaces/tileentity/IWirelessEnergyHatchInformation.java +++ b/src/main/java/gregtech/api/interfaces/tileentity/IWirelessEnergyHatchInformation.java @@ -1,7 +1,5 @@ package gregtech.api.interfaces.tileentity; -import static gregtech.api.enums.GT_Values.V; - public interface IWirelessEnergyHatchInformation { // This interface is solely for usage by wireless hatches/dynamos. -- cgit