Parcourir la source

Fixed a bug where squid were not awarding XP.

GJ il y a 11 ans
Parent
commit
14daee3b1b
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 1 0
      Changelog.txt
  2. 1 0
      src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java

+ 1 - 0
Changelog.txt

@@ -31,6 +31,7 @@ Version 1.4.07-dev
  = Fixed a bug where LevelUpEvent would be called for an offline player.
  = Fixed a bug where LevelUpEvent would be called for an offline player.
  = Fixed a bug where teleport location was never reset if warmup was set to 0 for Chimaera Wing.
  = Fixed a bug where teleport location was never reset if warmup was set to 0 for Chimaera Wing.
  = Fixed a bug where the Dodge DamageModifier wasn't being read from advanced.yml
  = Fixed a bug where the Dodge DamageModifier wasn't being read from advanced.yml
+ = Fixed a bug where squid were not awarding XP.
  ! Changed the way Repair hands out XP, also added config options to control Repair XP
  ! Changed the way Repair hands out XP, also added config options to control Repair XP
  ! Changed Swords "Counter Attack" ability from passive to active. Blocking is required to activate.
  ! Changed Swords "Counter Attack" ability from passive to active. Blocking is required to activate.
  ! Hardcore mode can now be toggled for each skill individually
  ! Hardcore mode can now be toggled for each skill individually

+ 1 - 0
src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java

@@ -476,6 +476,7 @@ public final class CombatUtils {
 
 
                 switch (type) {
                 switch (type) {
                     case BAT:
                     case BAT:
+                    case SQUID:
                         baseXP = ExperienceConfig.getInstance().getAnimalsXP();
                         baseXP = ExperienceConfig.getInstance().getAnimalsXP();
                         break;
                         break;