d6131a1
AKL City ยท akl-city.git
Branches > main > d6131a1 > files
Don't cancel right clicks on minecarts
Commit: d6131a1ff0f1e132bac8ea68cd9b06eaa062a4a7
Parent: de59059
1 changed file:
src/main/java/dev/grahp/aklcity/Minecarts.java view file
@@ -17,7 +17,6 @@ import net.kyori.adventure.text.Component; - // TODO: // - Stops mobs from pathfinding onto rails? Or... Just kill them when they do smiemsie, keep momentum // Somehow tell whether the player is going the wrong way?@@ -169,7 +168,6 @@ if (isRightClickingOnPoweredRail(e)) { var p = e.getPlayer(); if (isHoldingFist(p)) {- e.setCancelled(true); var b = e.getClickedBlock(); spawnMinecartOnBlock(b).addPassenger(p); }