This commit is contained in:
Bob 2022-12-14 18:49:41 +01:00
parent f5b8ea4338
commit ee567ae27a
2 changed files with 7 additions and 5 deletions

View File

@ -32,10 +32,10 @@ public class RenderFluidTank extends TileEntitySpecialRenderer implements IItemR
GL11.glDisable(GL11.GL_CULL_FACE);
switch(tileEntity.getBlockMetadata() - 10) {
case 2: GL11.glRotatef(270, 0F, 1F, 0F); break;
case 4: GL11.glRotatef(0, 0F, 1F, 0F); break;
case 3: GL11.glRotatef(90, 0F, 1F, 0F); break;
case 5: GL11.glRotatef(180, 0F, 1F, 0F); break;
case 2: GL11.glRotatef(180, 0F, 1F, 0F); break;
case 4: GL11.glRotatef(270, 0F, 1F, 0F); break;
case 3: GL11.glRotatef(0, 0F, 1F, 0F); break;
case 5: GL11.glRotatef(90, 0F, 1F, 0F); break;
}
TileEntityMachineFluidTank tank = (TileEntityMachineFluidTank) tileEntity;

View File

@ -44,14 +44,16 @@ public class RTTYSystem {
broadcast.put(identifier, channel);
}
HashMap<Pair<World, String>, RTTYChannel> toAdd = new HashMap();
for(Entry<Pair<World, String>, RTTYChannel> entry : broadcast.entrySet()) {
World world = entry.getKey().getKey();
RTTYChannel chan = new RTTYChannel();
chan.timeStamp = world.getTotalWorldTime();
chan.signal = getTestSender(chan.timeStamp);
broadcast.put(new Pair(world, "2012-08-06"), chan);
toAdd.put(new Pair(world, "2012-08-06"), chan);
}
broadcast.putAll(toAdd);
newMessages.clear();
}