mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Fixed Chimera Wing spamming console if Metrics was disabled
This commit is contained in:
parent
52746fca76
commit
0f77cf8066
@ -21,6 +21,7 @@ Version 1.4.05-dev
|
||||
= Fixed ClassCastException with Taming
|
||||
= Fixed huge mushroom blocks not being properly tracked
|
||||
= Fixed potion buff option not using the appropriate # of ticks
|
||||
= Fixed Chimera Wing spamming console if Metrics was disabled
|
||||
|
||||
Version 1.4.04
|
||||
+ Added functions to ExperienceAPI for use with offline players
|
||||
|
@ -105,7 +105,9 @@ public final class ChimaeraWing {
|
||||
|
||||
player.setItemInHand(new ItemStack(getChimaeraWing(player.getItemInHand().getAmount() - Config.getInstance().getChimaeraUseCost())));
|
||||
UserManager.getPlayer(player).actualizeLastChimaeraTeleport();
|
||||
MetricsManager.chimeraWingUsed();
|
||||
if (Config.getInstance().getStatsTrackingEnabled()) {
|
||||
MetricsManager.chimeraWingUsed();
|
||||
}
|
||||
player.playSound(location, Sound.BAT_TAKEOFF, Misc.BAT_VOLUME, Misc.BAT_PITCH);
|
||||
player.sendMessage(LocaleLoader.getString("Item.ChimaeraWing.Pass"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user