From 701d13e662aa350242f0a6e341a449be4cbf705f Mon Sep 17 00:00:00 2001 From: IMS212 Date: Mon, 18 Dec 2023 15:56:53 -0800 Subject: [PATCH] OH NO I WASN'T LOOKING --- src/main/java/net/coderbot/iris/Iris.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/net/coderbot/iris/Iris.java b/src/main/java/net/coderbot/iris/Iris.java index a49cfe86f7..e3da30fff5 100644 --- a/src/main/java/net/coderbot/iris/Iris.java +++ b/src/main/java/net/coderbot/iris/Iris.java @@ -38,8 +38,6 @@ import net.minecraft.network.chat.ClickEvent; import net.minecraft.network.chat.Component; import net.minecraft.resources.ResourceKey; -import net.minecraft.world.entity.ai.attributes.Attribute; -import net.minecraft.world.entity.ai.attributes.Attributes; import net.minecraft.world.level.dimension.BuiltinDimensionTypes; import net.minecraft.world.level.dimension.DimensionType; import org.jetbrains.annotations.NotNull; @@ -221,10 +219,6 @@ public static void onLoadingComplete() { } public static void handleKeybinds(Minecraft minecraft) { - if (Minecraft.getInstance().player != null) { - Minecraft.getInstance().getSingleplayerServer().getPlayerList().getPlayers().get(0).getAttribute(Attributes.SCALE).setBaseValue(0.1); - Minecraft.getInstance().getSingleplayerServer().getPlayerList().getPlayers().get(0).getAttribute(Attributes.MOVEMENT_SPEED).setBaseValue(0.1); - } if (reloadKeybind.consumeClick()) { try { reload();