mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 14:01:03 -08:00
Cleanup
This commit is contained in:
parent
a172c12e5d
commit
bedf93f0e0
6 changed files with 5 additions and 5 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -322,15 +322,15 @@ public class NetClient implements ApplicationListener{
|
|||
}
|
||||
|
||||
@Remote(variants = Variant.both, unreliable = true)
|
||||
public static void onEffect(Effect effect, float x, float y, float rotation, Color color){
|
||||
public static void effect(Effect effect, float x, float y, float rotation, Color color){
|
||||
if(effect == null) return;
|
||||
|
||||
effect.at(x, y, rotation, color);
|
||||
}
|
||||
|
||||
@Remote(variants = Variant.both)
|
||||
public static void onEffectReliable(Effect effect, float x, float y, float rotation, Color color){
|
||||
onEffect(effect, x, y, rotation, color);
|
||||
public static void effectReliable(Effect effect, float x, float y, float rotation, Color color){
|
||||
effect(effect, x, y, rotation, color);
|
||||
}
|
||||
|
||||
@Remote(variants = Variant.both)
|
||||
|
|
|
|||
|
|
@ -273,7 +273,7 @@ public class ConstructBlock extends Block{
|
|||
int accumulated = (int)(accumulator[i]); //get amount
|
||||
|
||||
if(clampedAmount > 0 && accumulated > 0){ //if it's positive, add it to the core
|
||||
if(core != null){
|
||||
if(core != null && requirements[i].item.unlockedNow()){ //only accept items that are unlocked
|
||||
int accepting = core.acceptStack(requirements[i].item, accumulated, builder);
|
||||
core.handleStack(requirements[i].item, accepting, builder);
|
||||
accumulator[i] -= accepting;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=c3f584d2d17fe0a91798565b73ea4d72ad312abf
|
||||
archash=de1a34fbd27468986a0540d0b51146291d9f2db4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue