Skip to content

Commit

Permalink
They also said they solved P=NP, Credibility: gone, Sides: in orbit
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAda committed Dec 28, 2022
1 parent e1f7765 commit b840329
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://modmuss50.me/fabric.html
minecraft_version=1.19.2
yarn_mappings=1.19.2+build.1
loader_version=0.14.9
minecraft_version=1.19.3
yarn_mappings=1.19.3+build.5
loader_version=0.14.12
# Mod Properties
mod_version=1.0-SNAPSHOT
maven_group=gg.nodus
archives_base_name=guardian
# Dependencies
# check this on https://modmuss50.me/fabric.html
fabric_version=0.58.6+1.19.2
fabric_version=0.70.0+1.19.3
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package gg.nodus.guardian.mixin;

import net.minecraft.client.MinecraftClient;
import net.minecraft.client.network.ClientPlayNetworkHandler;
import net.minecraft.network.message.SignedMessage;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.ModifyVariable;
Expand All @@ -12,8 +14,8 @@ public class MixinClientPlayNetworkHandler {
* LMFAO
*/
@ModifyVariable(method = "acknowledge", at = @At("HEAD"), argsOnly = true, index = 2)
public boolean acknowledge(boolean value) {
return false;
public boolean acknowledge(boolean value, SignedMessage message) {
return message.getSender().equals(MinecraftClient.getInstance().player.getUuid());
}

}
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
],
"depends": {
"fabricloader": ">=0.14.8",
"minecraft": "1.19.2"
"minecraft": "1.19.3"
}
}

0 comments on commit b840329

Please sign in to comment.