removing unnecessary stuff
This commit is contained in:
@@ -234,12 +234,6 @@ public class PayloadConveyor extends Block{
|
|||||||
updatePayload();
|
updatePayload();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onDestroyed(){
|
|
||||||
super.onDestroyed();
|
|
||||||
if (item != null) item.dump();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onRemoved(){
|
public void onRemoved(){
|
||||||
super.onRemoved();
|
super.onRemoved();
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import mindustry.graphics.*;
|
|||||||
import mindustry.world.*;
|
import mindustry.world.*;
|
||||||
import mindustry.world.blocks.payloads.*;
|
import mindustry.world.blocks.payloads.*;
|
||||||
|
|
||||||
|
import static arc.util.Timer.post;
|
||||||
import static mindustry.Vars.*;
|
import static mindustry.Vars.*;
|
||||||
|
|
||||||
public class PayloadAcceptor extends Block{
|
public class PayloadAcceptor extends Block{
|
||||||
@@ -82,12 +83,6 @@ public class PayloadAcceptor extends Block{
|
|||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onDestroyed(){
|
|
||||||
super.onDestroyed();
|
|
||||||
if (payload != null) payload.dump();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onRemoved(){
|
public void onRemoved(){
|
||||||
super.onRemoved();
|
super.onRemoved();
|
||||||
|
|||||||
Reference in New Issue
Block a user