Skip to content

Commit

Permalink
OH NO I WASN'T LOOKING
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Dec 18, 2023
1 parent 18e5c43 commit 701d13e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/main/java/net/coderbot/iris/Iris.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 701d13e

Please sign in to comment.