Fixed compilation

This commit is contained in:
Anuken
2020-04-16 11:35:35 -04:00
parent 713dbccf74
commit c6bbdfdc9b

View File

@@ -43,7 +43,7 @@ public class PayloadUnitFactory extends Block{
} }
@Remote(called = Loc.server) @Remote(called = Loc.server)
public static void onUnitFactorySpawn(Tile tile){ public static void onUnitFactorySpawn2(Tile tile){
if(!(tile.entity instanceof UnitFactoryEntity)) return; if(!(tile.entity instanceof UnitFactoryEntity)) return;
tile.<UnitFactoryEntity>ent().spawned(); tile.<UnitFactoryEntity>ent().spawned();
} }
@@ -197,7 +197,7 @@ public class PayloadUnitFactory extends Block{
if(progress >= plan.time){ if(progress >= plan.time){
progress = 0f; progress = 0f;
Call.onUnitFactorySpawn(tile); Call.onUnitFactorySpawn2(tile);
useContent(plan.unit); useContent(plan.unit);
consume(); consume();
} }