JITPack-based dependencies

This commit is contained in:
Anuken
2018-12-29 11:59:43 -05:00
parent 35348f1150
commit 4386d3169a
5 changed files with 26 additions and 25 deletions

View File

@@ -172,15 +172,9 @@ public class Renderer implements ApplicationListener{
blocks.processBlocks();
blocks.drawShadows();
blocks.drawBlocks(Layer.block);
for(Team team : Team.all){
if(blocks.isTeamShown(team)){
blocks.drawTeamBlocks(Layer.block, team);
}
}
blocks.skipLayer(Layer.block);
Draw.shader(Shaders.blockbuild, false);
Draw.shader(Shaders.blockbuild, true);
blocks.drawBlocks(Layer.placement);
Draw.shader();

View File

@@ -140,7 +140,6 @@ public class BuildBlock extends Block{
for(TextureRegion region : target.getBlockIcon()){
Shaders.blockbuild.region = region;
Shaders.blockbuild.progress = entity.progress;
Shaders.blockbuild.apply();
Draw.rect(region, tile.drawx(), tile.drawy(), target.rotate ? tile.getRotation() * 90 : 0);
Draw.flush();