mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-02 12:35:27 +02:00
minor refactoring
This commit is contained in:
@@ -156,7 +156,7 @@ public class AlchemyBrewTask extends CancellableRunnable {
|
||||
mcMMO.p.getServer().getPluginManager().callEvent(event);
|
||||
|
||||
if (!event.isCancelled()) {
|
||||
AlchemyPotionBrewer.finishBrewing(brewingStand, mmoPlayer.getPlayer(), false);
|
||||
AlchemyPotionBrewer.finishBrewing(brewingStand, mmoPlayer, false);
|
||||
}
|
||||
|
||||
Alchemy.brewingStandMap.remove(brewingStand.getLocation());
|
||||
@@ -165,7 +165,7 @@ public class AlchemyBrewTask extends CancellableRunnable {
|
||||
public void finishImmediately() {
|
||||
this.cancel();
|
||||
|
||||
AlchemyPotionBrewer.finishBrewing(brewingStand, mmoPlayer.getPlayer(), true);
|
||||
AlchemyPotionBrewer.finishBrewing(brewingStand, mmoPlayer, true);
|
||||
Alchemy.brewingStandMap.remove(brewingStand.getLocation());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user