Skip to content

Commit

Permalink
Update to 1.19-pre5
Browse files Browse the repository at this point in the history
  • Loading branch information
Ampflower committed Jun 2, 2022
1 parent 6baa923 commit 6e35c32
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#Sat Dec 11 14:22:04 CST 2021
minecraft_required=1.19-beta.3
yarn_mappings=1.19-pre3+build.1
fabric_api_version=0.53.4+1.19
minecraft_required=1.19-beta.5
yarn_mappings=1.19-pre5+build.1
fabric_api_version=0.54.0+1.19
jupiter_version=5.7.0
fabric_permissions_version=0.1-SNAPSHOT
org.gradle.jvmargs=-Xmx1G
systemProp.loom_version=0.12.38
systemProp.spotless_version=5.14.1
minecraft_version=1.19-pre3
minecraft_version=1.19-pre5
postgres_version=42.3.1
loader_version=0.14.6
systemProp.minotaur_version=1.2.1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.kjp12.plymouth.debug.anti_xray;// Created 2021-04-04T10:59:04

import net.fabricmc.fabric.api.client.command.v2.ClientCommandManager;
import net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback;
import net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking;
import net.fabricmc.fabric.api.client.rendering.v1.WorldRenderContext;
import net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents;
Expand Down Expand Up @@ -42,7 +42,7 @@ public static void initialise() {
ClientPlayNetworking.registerGlobalReceiver(AntiXrayDebugger.debugAntiXrayTest, AntiXrayClientDebugger::handleAntiXrayTest);
ClientPlayNetworking.registerGlobalReceiver(AntiXrayDebugger.debugAntiXrayMask, AntiXrayClientDebugger::handleAntiXrayMask);
WorldRenderEvents.BEFORE_DEBUG_RENDER.register(AntiXrayClientDebugger::render);
ClientCommandManager.DISPATCHER.register(literal("pdb").then(literal("ax").then(literal("clear").executes(ctx -> {
ClientCommandRegistrationCallback.EVENT.register((DISPATCHER, registryAccess) -> DISPATCHER.register(literal("pdb").then(literal("ax").then(literal("clear").executes(ctx -> {
mask = null;
antiXraySet.clear();
antiXrayUpdate.clear();
Expand All @@ -53,7 +53,7 @@ public static void initialise() {
onChunkLoad.clear();
onChunkBlockEntity.clear();
return 1;
}))));
})))));
}

private static void render(WorldRenderContext ctx) {
Expand Down

0 comments on commit 6e35c32

Please sign in to comment.