mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 14:34:36 +00:00
Fixed some things with the Rune Altar.
This commit is contained in:
1 parent
d71cf303a7
commit
93073659c7
2 files changed
+2
-2
No files matched your search
@@ -125,7 +125,6 @@ public final class RenderHelper {
|
||||
|
||||
public static void renderStar(int color, float xScale, float yScale, float zScale, long seed) {
|
||||
Tessellator tessellator = Tessellator.instance;
|
||||
net.minecraft.client.renderer.RenderHelper.disableStandardItemLighting();
|
||||
|
||||
int ticks = (int) (Minecraft.getMinecraft().theWorld.getTotalWorldTime() % 200);
|
||||
if (ticks >= 100)
|
||||
|
||||
@@ -74,6 +74,7 @@ public class TileRuneAltar extends TileSimpleInventory implements ISidedInventor
|
||||
updateRotationAngles();
|
||||
firstTick = false;
|
||||
}
|
||||
|
||||
|
||||
for(int i = 0; i < angles.length; i++)
|
||||
angles[i]++;
|
||||
@@ -142,7 +143,7 @@ public class TileRuneAltar extends TileSimpleInventory implements ISidedInventor
|
||||
}
|
||||
}
|
||||
|
||||
if(manaToGet > 0 && mana >= manaToGet) {
|
||||
if(manaToGet > 0 && mana >= manaToGet && !worldObj.isRemote) {
|
||||
List<EntityItem> items = worldObj.getEntitiesWithinAABB(EntityItem.class, AxisAlignedBB.getBoundingBox(xCoord, yCoord, zCoord, xCoord + 1, yCoord + 1, zCoord + 1));
|
||||
EntityItem livingrock = null;
|
||||
for(EntityItem item : items)
|
||||
|
||||
Reference in new issue
Block a user