Skip to content

Commit

Permalink
Remove bad line of code that should never have been there
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddie committed Jun 18, 2020
1 parent 31c5085 commit 11a881e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/useful/ucars/uCarsListener.java
Expand Up @@ -930,13 +930,13 @@ public void onUcarUpdate(ucarUpdateEvent event) {
Block block = before.getBlock(); //Block we're driving into
Block above = block.getRelative(BlockFace.UP);

if((!(block.isEmpty() || block.isLiquid())
/*if((!(block.isEmpty() || block.isLiquid())
&& !(above.isEmpty() || above.isLiquid())
&& !(block.getType().name().toLowerCase().contains("step"))
/*&& !(above.getType().name().toLowerCase().contains("step"))*/)
*//*&& !(above.getType().name().toLowerCase().contains("step"))*//*)
){
ControlInput.setAccel(player, 0); //They hit a wall head on
}
*//*ControlInput.setAccel(player, 0); //They hit a wall head on*//*
}*/

// Calculate collision health
if (block.getType().equals(Material.CACTUS)) {
Expand Down

0 comments on commit 11a881e

Please sign in to comment.