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
# Fabric Properties
# check these on https://modmuss50.me/fabric.html
minecraft_version=1.21.8
yarn_mappings=1.21.8+build.1
minecraft_version=1.21.9
yarn_mappings=1.21.9+build.1
loader_version=0.17.2
# Mod Properties
mod_version=1.4
mod_version=1.5
maven_group=com.kasetoatz
archives_base_name=SuperEnchants
# Dependencies
# 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)
{
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;
trident.setVelocity(0, 0, 0);

View File

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