This commit is contained in:
2025-10-01 21:34:31 +02:00
parent 7e972d3658
commit d3bb922906
3 changed files with 6 additions and 6 deletions

View File

@@ -2,13 +2,13 @@
org.gradle.jvmargs=-Xmx1G org.gradle.jvmargs=-Xmx1G
# Fabric Properties # Fabric Properties
# check these on https://modmuss50.me/fabric.html # check these on https://modmuss50.me/fabric.html
minecraft_version=1.21.8 minecraft_version=1.21.9
yarn_mappings=1.21.8+build.1 yarn_mappings=1.21.9+build.1
loader_version=0.17.2 loader_version=0.17.2
# Mod Properties # Mod Properties
mod_version=1.4 mod_version=1.5
maven_group=com.kasetoatz maven_group=com.kasetoatz
archives_base_name=SuperEnchants archives_base_name=SuperEnchants
# Dependencies # Dependencies
# check this on https://modmuss50.me/fabric.html # check this on https://modmuss50.me/fabric.html
fabric_version=0.133.4+1.21.8 fabric_version=0.133.14+1.21.9

View File

@@ -21,7 +21,7 @@ public abstract class TridentEntityMixin
public void tick(CallbackInfo ci) public void tick(CallbackInfo ci)
{ {
TridentEntity trident = ((TridentEntity)(Object)this); TridentEntity trident = ((TridentEntity)(Object)this);
if (LOYALTY_VOID_PROTECTION && trident.getDataTracker().get(LOYALTY) > 0 && trident.getY() <= trident.getWorld().getBottomY()) if (LOYALTY_VOID_PROTECTION && trident.getDataTracker().get(LOYALTY) > 0 && trident.getY() <= trident.getEntityWorld().getBottomY())
{ {
dealtDamage = true; dealtDamage = true;
trident.setVelocity(0, 0, 0); trident.setVelocity(0, 0, 0);

View File

@@ -7,7 +7,7 @@
"authors": [], "authors": [],
"contact": {}, "contact": {},
"license": "MIT", "license": "MIT",
"environment": "server", "environment": "*",
"entrypoints": { "entrypoints": {
"main": [ "main": [
"com.kasetoatz.superenchants.Superenchants" "com.kasetoatz.superenchants.Superenchants"