add more sensibly named API for grabbing the UserBlockTracker

This commit is contained in:
nossr50
2024-05-19 12:58:13 -07:00
parent 8b82163e3d
commit 9b09f06ad8
14 changed files with 58 additions and 31 deletions

View File

@@ -19,7 +19,7 @@ public class StickyPistonTrackerTask extends CancellableRunnable {
@Override
public void run() {
if (!mcMMO.getPlaceStore().isIneligible(movedBlock.getRelative(direction))) {
if (!mcMMO.getUserBlockTracker().isIneligible(movedBlock.getRelative(direction))) {
return;
}
@@ -29,7 +29,7 @@ public class StickyPistonTrackerTask extends CancellableRunnable {
}
// The sticky piston actually pulled the block so move the PlaceStore data
mcMMO.getPlaceStore().setEligible(movedBlock.getRelative(direction));
mcMMO.getUserBlockTracker().setEligible(movedBlock.getRelative(direction));
BlockUtils.setUnnaturalBlock(movedBlock);
}
}