Skip to content

Commit

Permalink
lol, lmao
Browse files Browse the repository at this point in the history
close #4373
  • Loading branch information
yrsegal committed Oct 13, 2023
1 parent 2953cc2 commit 6fca48a
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
package vazkii.quark.content.tweaks.module;

import java.util.List;

import org.apache.commons.lang3.tuple.Pair;

import com.google.common.collect.Lists;
import com.mojang.blaze3d.platform.Window;
import com.mojang.blaze3d.vertex.PoseStack;

import net.minecraft.client.Minecraft;
import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
Expand Down Expand Up @@ -41,6 +36,7 @@
import net.minecraftforge.event.TickEvent.Phase;
import net.minecraftforge.event.entity.player.PlayerInteractEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import org.apache.commons.lang3.tuple.Pair;
import vazkii.quark.base.Quark;
import vazkii.quark.base.handler.RayTraceHandler;
import vazkii.quark.base.module.LoadModule;
Expand All @@ -50,6 +46,8 @@
import vazkii.quark.base.module.config.type.inputtable.RGBColorConfig;
import vazkii.quark.integration.claim.IClaimIntegration;

import java.util.List;

@LoadModule(category = ModuleCategory.TWEAKS, hasSubscriptions = true)
public class ReacharoundPlacingModule extends QuarkModule {

Expand Down Expand Up @@ -77,7 +75,7 @@ public void setup() {
@SubscribeEvent
@OnlyIn(Dist.CLIENT)
public void onRender(RenderGuiOverlayEvent.Pre event) {
if(event.getOverlay() == VanillaGuiOverlay.CROSSHAIR.type())
if(event.getOverlay() != VanillaGuiOverlay.CROSSHAIR.type())
return;

Minecraft mc = Minecraft.getInstance();
Expand Down

0 comments on commit 6fca48a

Please sign in to comment.