0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-20 01:12:13 +02:00

MinecraftClient.getInstance() -> WurstClient.MC #2

This commit is contained in:
Alexander01998 2020-03-31 11:51:20 +02:00
parent f539fe29d4
commit 93d6b9073f

View File

@ -7,10 +7,10 @@
*/
package net.wurstclient.other_features;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.options.GameOptions;
import net.wurstclient.DontBlock;
import net.wurstclient.SearchTags;
import net.wurstclient.WurstClient;
import net.wurstclient.events.MouseScrollListener;
import net.wurstclient.other_feature.OtherFeature;
import net.wurstclient.settings.CheckboxSetting;
@ -45,7 +45,7 @@ public final class ZoomOtf extends OtherFeature implements MouseScrollListener
public double changeFovBasedOnZoom(double fov)
{
GameOptions gameOptions = MinecraftClient.getInstance().options;
GameOptions gameOptions = WurstClient.MC.options;
if(currentLevel == null)
currentLevel = level.getValue();