浏览代码

Update changelog.

GJ 11 年之前
父节点
当前提交
f20fa571f1
共有 2 个文件被更改,包括 2 次插入3 次删除
  1. 1 0
      Changelog.txt
  2. 1 3
      src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java

+ 1 - 0
Changelog.txt

@@ -18,6 +18,7 @@ Version 1.4.08-dev
  = Fixed bug with Salvage not reading the config value for the anvil material.
  = Fixed exploit where you could receive smelting XP for improper items
  = Fixed bug where the Unbreaking enchantment was ignored when using "Super Breaker" or "Giga Drill Breaker"
+ ! Updated localization files
 
 Version 1.4.07
  + Added XP boost to Acrobatics when wearing Boots of Feather Falling

+ 1 - 3
src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java

@@ -405,9 +405,7 @@ public class FishingManager extends SkillManager {
                     break;
 
                 case SKELETON:
-                    Skeleton skeleton = (Skeleton) target;
-
-                    if (skeleton.getSkeletonType() == SkeletonType.WITHER) {
+                    if (((Skeleton) target).getSkeletonType() == SkeletonType.WITHER) {
                         switch (drop.getType()) {
                             case SKULL_ITEM:
                                 drop.setDurability((short) 1);