mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-02 12:35:27 +02:00
add more sensibly named API for grabbing the UserBlockTracker
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user