From 2a7a769d63bbd5bf21394c2ffe9db569dfa642c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E8=91=89=20Scarlet?= <93977077+mukjepscarlet@users.noreply.github.com> Date: Fri, 20 Dec 2024 21:44:19 +0800 Subject: [PATCH] mc --- .../utils/simulation/SimulatedPlayerJavaExtensions.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/ccbluex/liquidbounce/utils/simulation/SimulatedPlayerJavaExtensions.java b/src/main/java/net/ccbluex/liquidbounce/utils/simulation/SimulatedPlayerJavaExtensions.java index b3d18569197..44146c1277e 100644 --- a/src/main/java/net/ccbluex/liquidbounce/utils/simulation/SimulatedPlayerJavaExtensions.java +++ b/src/main/java/net/ccbluex/liquidbounce/utils/simulation/SimulatedPlayerJavaExtensions.java @@ -5,18 +5,18 @@ */ package net.ccbluex.liquidbounce.utils.simulation; -import net.ccbluex.liquidbounce.utils.client.MinecraftInstance; +import net.minecraft.client.Minecraft; import net.minecraft.client.entity.EntityPlayerSP; import net.minecraft.world.World; import org.apache.commons.lang3.tuple.Pair; -public class SimulatedPlayerJavaExtensions extends MinecraftInstance { +public class SimulatedPlayerJavaExtensions { /** * This game movement code had to be kept in its original language as it gives proper results. */ public Pair checkForCollision(SimulatedPlayer simPlayer, double velocityX, double velocityZ) { - EntityPlayerSP player = mc.thePlayer; + EntityPlayerSP player = Minecraft.getMinecraft().thePlayer; World worldObj = player.worldObj; double d6;