Add header txt so access type sidebutton
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package refinedstorage.gui.sidebutton;
|
||||
|
||||
import net.minecraft.util.text.TextFormatting;
|
||||
import refinedstorage.RSUtils;
|
||||
import refinedstorage.api.storage.AccessType;
|
||||
import refinedstorage.gui.GuiBase;
|
||||
@@ -22,7 +23,7 @@ public class SideButtonAccessType extends SideButton {
|
||||
|
||||
@Override
|
||||
public String getTooltip() {
|
||||
return gui.t("sidebutton.refinedstorage:access_type." + parameter.getValue().getId());
|
||||
return TextFormatting.RED + gui.t("sidebutton.refinedstorage:access_type") + TextFormatting.RESET + "\n" + gui.t("sidebutton.refinedstorage:access_type." + parameter.getValue().getId());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -529,7 +529,6 @@ public class TileController extends TileBase implements INetworkMaster, IEnergyR
|
||||
remainder = storage.insertItem(remainder, size, simulate);
|
||||
}
|
||||
|
||||
|
||||
if (storage instanceof ItemStorageExternal && !simulate) {
|
||||
((ItemStorageExternal) storage).updateCacheForcefully();
|
||||
}
|
||||
|
||||
@@ -126,6 +126,7 @@ sidebutton.refinedstorage:constructor.drop=Drop blocks instead of placing
|
||||
|
||||
sidebutton.refinedstorage:destructor.pickup=Pickup items instead of breaking
|
||||
|
||||
sidebutton.refinedstorage:access_type=Access Type
|
||||
sidebutton.refinedstorage:access_type.0=Read and write
|
||||
sidebutton.refinedstorage:access_type.1=Read
|
||||
sidebutton.refinedstorage:access_type.2=Write
|
||||
|
||||
Reference in New Issue
Block a user