Fixed computer API for particle booster

This commit is contained in:
LemADEC 2015-08-09 23:43:29 +02:00
parent 567b80a0ef
commit 36487aa409

View file

@ -8,6 +8,13 @@ import cr0s.warpdrive.conf.WarpDriveConfig;
public class TileEntityParticleBooster extends WarpEnergyTE { public class TileEntityParticleBooster extends WarpEnergyTE {
private int ticks = 0; private int ticks = 0;
public TileEntityParticleBooster() {
peripheralName = "warpdriveParticleBooster";
methodsArray = new String[] {
"getEnergyLevel"
};
}
@Override @Override
public void updateEntity() { public void updateEntity() {
if (FMLCommonHandler.instance().getEffectiveSide().isClient()) { if (FMLCommonHandler.instance().getEffectiveSide().isClient()) {