Skip to content

Commit e7dfff7

Browse files
committed
Merge remote-tracking branch 'upstream/1.21.11' into 1.21.11
2 parents 95cd33a + 7842dea commit e7dfff7

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

.github/workflows/gradle.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches-ignore:
66
- "dependabot/**"
7-
- "modrinth_deps/**"
87
tags-ignore:
98
- "**"
109
paths:

.github/workflows/update_modrinth_deps.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ on:
55
- cron: "0 0 * * *"
66
workflow_dispatch:
77

8-
permissions:
9-
# Needed to edit gradle.properties on the PR branches
10-
contents: write
11-
128
jobs:
139
update-deps:
1410
runs-on: ubuntu-latest
@@ -17,12 +13,8 @@ jobs:
1713
matrix:
1814
branch: ["master", "26.1", "1.21.10", "1.21.8"]
1915
steps:
20-
- name: Checkout
21-
uses: actions/checkout@v6
22-
with:
23-
ref: ${{ matrix.branch }}
24-
2516
- name: Update Modrinth Dependencies
2617
uses: Wurst-Imperium/update-modrinth-deps@v1
2718
with:
19+
ref: ${{ matrix.branch }}
2820
token: ${{ secrets.UMD_PR_TOKEN }}

src/gametest/java/net/wurstclient/gametest/tests/GiveCmdTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ protected void runImpl()
2626
logger.info("Testing .give command");
2727

2828
runWurstCommand("give diamond");
29-
clearToasts();
3029
context.waitTick();
30+
clearToasts();
3131
assertOneItemInSlot(0, Items.DIAMOND);
3232
context.takeScreenshot("give_command_result");
3333

src/main/java/net/wurstclient/hacks/XRayHack.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,9 @@ public final class XRayHack extends Hack
100100
0, 0, 0.99, 0.01, ValueDisplay.PERCENTAGE.withLabel(0, "off"));
101101

102102
private final String optiFineWarning;
103-
private final String renderName =
104-
Math.random() < 0.01 ? "X-Wurst" : getName();
103+
private final String renderName = Math.random() < 0.01
104+
&& System.getProperty("fabric.client.gametest") == null ? "X-Wurst"
105+
: getName();
105106

106107
private ArrayList<String> oreNamesCache;
107108
private java.util.Set<String> oreExactIds;

0 commit comments

Comments
 (0)