mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
check if in map
This commit is contained in:
@@ -66,7 +66,7 @@ public class AntiDerailment extends BasicHack {
|
||||
return;
|
||||
}
|
||||
|
||||
if (minecart.getMaxSpeed() == 0.4D) {
|
||||
if (minecart.getMaxSpeed() == 0.4D || !previousTickMinecartVelocity.containsKey(minecart)) {
|
||||
previousTickMinecartVelocity.put(minecart, minecart.getVelocity());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user