mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-22 11:56:21 +01:00
Fixed classic inventory showing background
This commit is contained in:
parent
07a0001ab4
commit
d6c8501fa9
@ -68,7 +68,9 @@ public class ViaFabricPlus {
|
||||
private final InformationSystem informationSystem = new InformationSystem();
|
||||
|
||||
public void init() {
|
||||
if (!RUN_DIRECTORY.exists()) RUN_DIRECTORY.mkdir();
|
||||
if (!RUN_DIRECTORY.exists()) {
|
||||
RUN_DIRECTORY.mkdir();
|
||||
}
|
||||
|
||||
// Load overriding jars first so other code can access the new classes
|
||||
ViaJarReplacer.loadOverridingJars();
|
||||
|
@ -175,6 +175,5 @@ public class ClassicItemSelectionScreen extends VFPScreen {
|
||||
}
|
||||
y += ITEM_XY_BOX_DIMENSION_CLASSIC;
|
||||
}
|
||||
super.render(context, mouseX, mouseY, delta);
|
||||
}
|
||||
}
|
||||
|
@ -112,7 +112,9 @@ public abstract class MixinMinecraftClient implements IMinecraftClient {
|
||||
@Inject(method = "tick", at = @At(value = "FIELD", target = "Lnet/minecraft/client/MinecraftClient;currentScreen:Lnet/minecraft/client/gui/screen/Screen;",
|
||||
ordinal = 4, shift = At.Shift.BEFORE))
|
||||
public void injectTick(CallbackInfo ci) {
|
||||
if (!DebugSettings.INSTANCE.executeInputsInSync.isEnabled()) return;
|
||||
if (!DebugSettings.INSTANCE.executeInputsInSync.isEnabled()) {
|
||||
return;
|
||||
}
|
||||
|
||||
while (!viafabricplus_mouseInteractions.isEmpty()) {
|
||||
viafabricplus_mouseInteractions.poll().run();
|
||||
|
Loading…
Reference in New Issue
Block a user