Merge pull request #370 from CivMC/anti-derailment

Remove redundant code
This commit is contained in:
okx-code
2024-03-12 15:35:23 +00:00
committed by GitHub

View File

@@ -80,10 +80,6 @@ public class AntiDerailment extends BasicHack {
Block block = e.getTo().getBlock();
if (Tag.RAILS.isTagged(block.getType())) {
previousTickMinecartVelocity.put(minecart, minecart.getVelocity());
if (e.getTo().getY() < e.getFrom().getY()) {
return;
}
return;
}