From 730024055f670fef1fd4ba76b0863736a03fe227 Mon Sep 17 00:00:00 2001 From: Alexdoru <57050655+Alexdoru@users.noreply.github.com> Date: Mon, 16 Sep 2024 01:12:03 +0200 Subject: cache some Enum.values() call to reduce RAM allocations --- .../kekztech/common/tileentities/MTELapotronicSuperCapacitor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/kekztech/common') diff --git a/src/main/java/kekztech/common/tileentities/MTELapotronicSuperCapacitor.java b/src/main/java/kekztech/common/tileentities/MTELapotronicSuperCapacitor.java index e39a0b74eb..e6260bc7af 100644 --- a/src/main/java/kekztech/common/tileentities/MTELapotronicSuperCapacitor.java +++ b/src/main/java/kekztech/common/tileentities/MTELapotronicSuperCapacitor.java @@ -139,8 +139,8 @@ public class MTELapotronicSuperCapacitor extends MTEEnhancedMultiBlockBase