Potential fix for #5660
This commit is contained in:
@@ -657,8 +657,8 @@ public class Blocks implements ContentList{
|
|||||||
craftTime = 35f;
|
craftTime = 35f;
|
||||||
size = 2;
|
size = 2;
|
||||||
|
|
||||||
consumes.power(1f);
|
consumes.power(1.1f);
|
||||||
consumes.liquid(Liquids.slag, 0.07f);
|
consumes.liquid(Liquids.slag, 4f / 60f);
|
||||||
}};
|
}};
|
||||||
|
|
||||||
disassembler = new Separator("disassembler"){{
|
disassembler = new Separator("disassembler"){{
|
||||||
|
|||||||
@@ -356,7 +356,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
|||||||
Events.fire(new TapEvent(player, tile));
|
Events.fire(new TapEvent(player, tile));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Remote(targets = Loc.both, called = Loc.both, forward = true)
|
@Remote(targets = Loc.both, called = Loc.server, forward = true)
|
||||||
public static void buildingControlSelect(Player player, Building build){
|
public static void buildingControlSelect(Player player, Building build){
|
||||||
if(player == null || build == null || player.dead()) return;
|
if(player == null || build == null || player.dead()) return;
|
||||||
|
|
||||||
|
|||||||
@@ -248,7 +248,7 @@ public class CoreBlock extends StorageBlock{
|
|||||||
@Override
|
@Override
|
||||||
public void onControlSelect(Player player){
|
public void onControlSelect(Player player){
|
||||||
Fx.spawn.at(player);
|
Fx.spawn.at(player);
|
||||||
if(net.client()){
|
if(net.client() && player == Vars.player){
|
||||||
control.input.controlledType = null;
|
control.input.controlledType = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user