This commit is contained in:
Anuken
2020-06-22 23:08:59 -04:00
parent 7dfd20d020
commit 7b7e803011
7 changed files with 14 additions and 12 deletions

View File

@@ -31,7 +31,7 @@ public class Tutorial{
public Tutorial(){
Events.on(BlockBuildEndEvent.class, event -> {
if(!event.breaking){
blocksPlaced.getAndIncrement(event.tile.block(), 0, 1);
blocksPlaced.increment(event.tile.block(), 1);
}
});