mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-10 00:05:27 +02:00
@@ -134,7 +134,10 @@ public final class AlchemyPotionBrewer {
|
|||||||
|
|
||||||
if (output != null && player != null) {
|
if (output != null && player != null) {
|
||||||
PotionStage potionStage = PotionStage.getPotionStage(input, output);
|
PotionStage potionStage = PotionStage.getPotionStage(input, output);
|
||||||
UserManager.getPlayer(player).getAlchemyManager().handlePotionBrewSuccesses(potionStage, 1);
|
|
||||||
|
if (UserManager.hasPlayerDataKey(player)) {
|
||||||
|
UserManager.getPlayer(player).getAlchemyManager().handlePotionBrewSuccesses(potionStage, 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user