Fixed minor autotile bug

This commit is contained in:
Anuken
2018-08-08 22:29:56 -04:00
parent a804053904
commit b7842014c1
2 changed files with 2 additions and 1 deletions

View File

@ -278,6 +278,7 @@ public class Renderer extends RendererModule{
drawAndInterpolate(playerGroup, p -> !p.isDead() && !p.isLocal, Player::drawName);
EntityDraw.setClip(true);
Graphics.end();
Draw.color();
}
private void drawFlyerShadows(){

View File

@ -53,8 +53,8 @@ public class BuildBlock extends Block{
@Remote(called = Loc.server)
public static void onConstructFinish(Tile tile, Block block, int builderID, byte rotation, Team team){
world.setBlock(tile, block, team);
tile.setRotation(rotation);
world.setBlock(tile, block, team);
tile.setTeam(team);
Effects.effect(Fx.placeBlock, tile.drawx(), tile.drawy(), block.size);