Skip to content

Commit

Permalink
Merge branch 'master'
Browse files Browse the repository at this point in the history
  • Loading branch information
xkball committed Jan 8, 2023
2 parents 4a32978 + 7d172b3 commit 502470f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ developmentEnvironmentUserName = Developer
replaceGradleTokenInFile = Tags.java
gradleTokenModId = xibao
gradleTokenModName = xibao
gradleTokenVersion = GRADLETOKEN_VERSION
gradleTokenGroupName = GRADLETOKEN_GROUPNAME
gradleTokenVersion = 1.0.0
gradleTokenGroupName = xkball

# In case your mod provides an API for other mods to implement you may declare its package here. Otherwise, you can
# leave this property empty.
Expand Down
11 changes: 6 additions & 5 deletions src/main/java/com/xkball/xibao/gui/GuiXiBaoCrashScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,30 +38,31 @@ public void initGui() {
buttonList.add(new GuiButton(
1,
width / 2 - 50,
height / 4 + 120 + 12,
height / 4 + 120 + 25,
110,
20,
I18n.format("bettercrashes.gui.common.openCrashReport")));
buttonList.add(new GuiButton(
2,
width / 2 - 50 + 115,
height / 4 + 120 + 12,
height / 4 + 120 + 25,
110,
20,
I18n.format("bettercrashes.gui.common.uploadReportAndCopyLink")));
if (Config.isGTNH) {
buttonList.add(new GuiButton(
3,
width / 2 - 50 - 15,
height / 4 + 120 + 12 + 25,
// 原为12
height / 4 + 120 + 25 + 25,
140,
20,
I18n.format("bettercrashes.gui.common.gtnhIssueTracker")));
}
GuiOptionButton mainMenuButton = new GuiOptionButton(
0,
width / 2 - 50 - 115,
height / 4 + 120 + 12,
height / 4 + 120 + 25,
110,
20,
I18n.format("bettercrashes.gui.crash.toTitle"));
Expand Down Expand Up @@ -118,7 +119,7 @@ private void drawProblemScreen(int x, int y, float tick) {

int textColor = ColorUtil.color(190, 190, 190, 255);
int x1 = width / 2 - 155;
int y1 = (height / 4) + 20;
int y1 = (height / 4) + 40;
if (hasUnsupportedMods) {
y1 -= 32;
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) [year] [fullname]
Copyright (c) 2023 xkball

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
4 changes: 2 additions & 2 deletions src/main/resources/mcmod.info
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"modList": [{
"modid": "${modId}",
"name": "${modName}",
"description": "An example mod for Minecraft 1.7.10 with Forge focused on a stable setup.",
"description": "Show a celebrating image when you game crashed or disconnected from server",
"version": "${modVersion}",
"mcversion": "${minecraftVersion}",
"url": "https://github.com/SinTh0r4s/MyMod",
"url": "https://github.com/xkball/XiBao1.7.10",
"updateUrl": "",
"authorList": ["xkball"],
"credits": "",
Expand Down

0 comments on commit 502470f

Please sign in to comment.