Pārlūkot izejas kodu

Fixed a bug where squid were not awarding XP.

GJ 11 gadi atpakaļ
vecāks
revīzija
14daee3b1b

+ 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 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 squid were not awarding 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.
  ! 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) {
                     case BAT:
+                    case SQUID:
                         baseXP = ExperienceConfig.getInstance().getAnimalsXP();
                         break;