mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-09-21 05:17:50 +03:00
Bugfixes
This commit is contained in:
parent
b7d91310cc
commit
c540f8e5f5
@ -185,7 +185,7 @@ public class PlacementFragment extends Fragment{
|
||||
req.table(line -> {
|
||||
line.left();
|
||||
line.addImage(stack.item.icon(Cicon.small)).size(8 * 2);
|
||||
line.add(stack.item.localizedName()).color(Color.lightGray).padLeft(2).left();
|
||||
line.add(stack.item.localizedName).maxWidth(150f).fillX().color(Color.lightGray).padLeft(2).left().get().setEllipsis(true);
|
||||
line.labelWrap(() -> {
|
||||
TileEntity core = player.getClosestCore();
|
||||
if(core == null || state.rules.infiniteResources) return "*/*";
|
||||
|
Loading…
Reference in New Issue
Block a user