Protect placeStore. It's ugly and still needs work.

This commit is contained in:
GJ
2013-02-17 00:40:11 -05:00
parent f61aed9f6c
commit 1fe182babe
14 changed files with 90 additions and 46 deletions

View File

@ -33,6 +33,6 @@ public class MobStoreCleaner implements Runnable {
@Override
public void run() {
mcMMO.placeStore.cleanMobLists();
mcMMO.p.cleanMobLists();
}
}

View File

@ -22,11 +22,11 @@ public class StickyPistonTracker implements Runnable {
return;
}
if (!mcMMO.placeStore.isTrue(originalBlock)) {
if (!mcMMO.p.isPlaced(originalBlock)) {
return;
}
mcMMO.placeStore.setFalse(originalBlock);
mcMMO.placeStore.setTrue(newBlock);
mcMMO.p.setNotPlaced(originalBlock);
mcMMO.p.setIsPlaced(newBlock);
}
}