aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/common/helpers
diff options
context:
space:
mode:
authorConnor-Colenso <52056774+Connor-Colenso@users.noreply.github.com>2023-04-08 22:43:10 +0100
committerGitHub <noreply@github.com>2023-04-08 23:43:10 +0200
commit5445cb79f7f7ade6b77abf79fddc29fa64d9855f (patch)
treeac30fb55bba5c6b9784cb6d60cb1118568924542 /src/main/java/gtPlusPlus/xmod/gregtech/common/helpers
parent84791abf2d21371ec7b60ddd58a629be5090e9ba (diff)
downloadGT5-Unofficial-5445cb79f7f7ade6b77abf79fddc29fa64d9855f.tar.gz
GT5-Unofficial-5445cb79f7f7ade6b77abf79fddc29fa64d9855f.tar.bz2
GT5-Unofficial-5445cb79f7f7ade6b77abf79fddc29fa64d9855f.zip
Kill disassembler (#594)
Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/common/helpers')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/helpers/autocrafter/AC_Helper_Utils.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/helpers/autocrafter/AC_Helper_Utils.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/helpers/autocrafter/AC_Helper_Utils.java
index 6a2175f151..3d54bcdf5f 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/helpers/autocrafter/AC_Helper_Utils.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/helpers/autocrafter/AC_Helper_Utils.java
@@ -24,17 +24,6 @@ public class AC_Helper_Utils {
return 0;
}
- // Remove Crafter
- public static final boolean removeCrafter(int frequency) {
- if (!sAutocrafterMap.isEmpty()) {
- if (sAutocrafterMap.containsKey(frequency)) {
- sAutocrafterMap.remove(frequency);
- return true;
- }
- }
- return false;
- }
-
public static final boolean removeCrafter(GT4Entity_AutoCrafter AC) {
if (!sAutocrafterMap.isEmpty()) {
if (sAutocrafterMap.containsValue(AC)) {
@@ -45,22 +34,6 @@ public class AC_Helper_Utils {
return false;
}
- // Get Crafter
- public static final GT4Entity_AutoCrafter getCrafterByID(int ID) {
- if (!sAutocrafterMap.isEmpty()) {
- Set<Entry<Integer, GT4Entity_AutoCrafter>> players = sAutocrafterMap.entrySet();
- Iterator<Entry<Integer, GT4Entity_AutoCrafter>> i = players.iterator();
- while (i.hasNext()) {
- Entry<Integer, GT4Entity_AutoCrafter> current = i.next();
- if (current.getKey().equals(ID)) {
- return current.getValue();
- }
- }
- }
- Logger.WARNING("Failed. [getCrafterByID]");
- return null;
- }
-
public static final int getIDByCrafter(GT4Entity_AutoCrafter AC) {
if (!sAutocrafterMap.isEmpty()) {
Set<Entry<Integer, GT4Entity_AutoCrafter>> players = sAutocrafterMap.entrySet();