1.21.9
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user