Fractured powerstone (#8805)

* Implement Fractured Powerstone

* Rebase fix FracturedPowerstone

Co-authored-by: teskogi <tojile7269@yeafam.com>
This commit is contained in:
teskogi 2022-05-06 09:25:46 -07:00 committed by GitHub
parent b279d4b318
commit 1538714555
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 149 additions and 0 deletions

View file

@ -51,5 +51,12 @@ public class PlanarRollWatcher extends Watcher {
super.reset();
numberTimesPlanarDieRolled.clear();
}
public void removePlanarDieRoll(UUID playerId) {
Integer amount = numberTimesPlanarDieRolled.get(playerId);
if (amount != null){
numberTimesPlanarDieRolled.put(playerId, amount-1);
}
}
}