Skip to content

Commit

Permalink
Update Fishing trait
Browse files Browse the repository at this point in the history
  • Loading branch information
Morphan1 committed Nov 29, 2014
1 parent 70f8c0c commit 592fc81
Showing 1 changed file with 2 additions and 7 deletions.
Expand Up @@ -257,13 +257,8 @@ private void reel() {
public ItemStack getFishingResult() {
if (catchType == CatchType.DEFAULT) {
float f = nmsworld.random.nextFloat();
/*
int i = EnchantmentManager.getLuckEnchantmentLevel(fishHook.owner);
int j = EnchantmentManager.getLureEnchantmentLevel(fishHook.owner);
*/
// TODO: 1.8 UPDATE
int i = 0;
int j = 0;
int i = EnchantmentManager.g(fishHook.owner);
int j = EnchantmentManager.h(fishHook.owner);
float f1 = 0.1F - (float) i * 0.025F - (float) j * 0.01F;
float f2 = 0.05F + (float) i * 0.01F - (float) j * 0.01F;

Expand Down

0 comments on commit 592fc81

Please sign in to comment.