Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakllp committed Jan 21, 2023
1 parent 4e1c1e8 commit fcc2a49
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/com/useful/ucars/uCarsListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -1135,10 +1135,6 @@ else if (fuelEnabled
ch.load(true);
}
Vehicle newCar = (Vehicle) toTele.getWorld().spawnEntity(toTele,car.getType());
if(car instanceof Minecart) {
((Minecart)newCar).setDisplayBlockData(((Minecart)car).getDisplayBlockData());
((Minecart)newCar).setDisplayBlockOffset(0);
}
float yaw = player.getLocation().getYaw()+90;
if(yaw < 0){
yaw = 360 + yaw;
Expand Down

0 comments on commit fcc2a49

Please sign in to comment.