Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Commit

Permalink
(Float) T_T
Browse files Browse the repository at this point in the history
  • Loading branch information
sameer committed Feb 17, 2016
1 parent 64f19a8 commit b942bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/net/minecraft/entity/item/EntityBoat.java.patch
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
+ }
+
+ // f = event.getDamage(); // TODO Why don't we do this?
+ if((float)event.getDamage() != p_70097_2_ ) p_70097_2_ = event.getDamage(); // Thermos - wow that's sad, maybe we should implement instead of leaving it at "TODO"
+ if((float)event.getDamage() != p_70097_2_ ) p_70097_2_ = (float)event.getDamage(); // Thermos - wow that's sad, maybe we should implement instead of leaving it at "TODO"
+ // CraftBukkit end
this.setForwardDirection(-this.getForwardDirection());
this.setTimeSinceHit(10);
Expand Down

0 comments on commit b942bd2

Please sign in to comment.