Travis testing

This commit is contained in:
Anuken 2019-09-12 17:19:01 -04:00
parent fb4faa15bb
commit 2231062c19
4 changed files with 7 additions and 6 deletions

View file

@ -10,6 +10,8 @@ script:
- git clone --depth=1 --branch=master https://github.com/Anuken/MindustryBuilds ../MindustryBuilds
- cd ../MindustryBuilds
- echo ${TRAVIS_BUILD_NUMBER} > version.txt
- TEST_TAG=v9999
- echo versionName=4-fdroid-${TEST_TAG}$'\n'versionCode=${TEST_TAG:1} > version_fdroid.txt
- git add .
- git commit -m "Updating to build ${TRAVIS_BUILD_NUMBER}"
- git tag ${TRAVIS_BUILD_NUMBER}

View file

@ -267,7 +267,7 @@ public class Renderer implements ApplicationListener{
}
overlays.drawBottom();
playerGroup.draw(p -> true, Player::drawBuildRequests);
playerGroup.draw(p -> p.isLocal, Player::drawBuildRequests);
if(shieldGroup.countInBounds() > 0){
if(settings.getBool("animatedshields") && Shaders.shield != null){

View file

@ -11,7 +11,6 @@ import io.anuke.mindustry.entities.type.*;
import io.anuke.mindustry.game.EventType.*;
import io.anuke.mindustry.gen.*;
import io.anuke.mindustry.graphics.*;
import io.anuke.mindustry.net.Net;
import io.anuke.mindustry.type.*;
import io.anuke.mindustry.world.*;
import io.anuke.mindustry.world.blocks.*;
@ -138,10 +137,10 @@ public class CoreBlock extends StorageBlock{
}
public class CoreEntity extends TileEntity implements SpawnerTrait{
public Player spawnPlayer;
float progress;
float time;
float heat;
protected Player spawnPlayer;
protected float progress;
protected float time;
protected float heat;
@Override
public boolean hasUnit(Unit unit){