Revamp altar to only use EnumAltarComponent

- Removes internal references in API
- Makes full use of the idea of the API
- No more special checks
This commit is contained in:
Nick 2015-12-02 16:02:18 -08:00
parent 6db9b51350
commit 96d94721c4
9 changed files with 104 additions and 140 deletions

View file

@ -303,7 +303,8 @@ public class TileAltar extends TileInventory implements IBloodAltar, ITickable,
getWorld().markBlockForUpdate(pos);
}
private void checkTier() {
@Override
public void checkTier() {
EnumAltarTier tier = BloodAltar.getAltarTier(getWorld(), getPos());
this.altarTier = tier;