aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0544-Add-cause-to-Weather-ThunderChangeEvents.patch
diff options
context:
space:
mode:
authorRiley Park <[email protected]>2024-07-21 03:42:04 -0700
committerRiley Park <[email protected]>2024-07-21 03:42:04 -0700
commit2a810b77f0ce62cd3be25b8850f61b448755ef6d (patch)
tree6b3c82b1909c678a3b1ce70ecf3e804ee63a989a /patches/server/0544-Add-cause-to-Weather-ThunderChangeEvents.patch
parentc250671fda4de965baec473519f38879a93b4524 (diff)
downloadPaper-feat/timings-removal.tar.gz
Paper-feat/timings-removal.zip
Diffstat (limited to 'patches/server/0544-Add-cause-to-Weather-ThunderChangeEvents.patch')
-rw-r--r--patches/server/0544-Add-cause-to-Weather-ThunderChangeEvents.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/server/0544-Add-cause-to-Weather-ThunderChangeEvents.patch b/patches/server/0544-Add-cause-to-Weather-ThunderChangeEvents.patch
index 2807ad861f..66f6c430c0 100644
--- a/patches/server/0544-Add-cause-to-Weather-ThunderChangeEvents.patch
+++ b/patches/server/0544-Add-cause-to-Weather-ThunderChangeEvents.patch
@@ -5,10 +5,10 @@ Subject: [PATCH] Add cause to Weather/ThunderChangeEvents
diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java
-index 1fe013b94cf1b5332f1e4645dd35df01e11fe0d9..055650b315d53b56798ded7af2054c3e8e3ee319 100644
+index 9c54d611b41a5ee3c86f181bae1219452b93b0a3..7d8b3673ad03396a10e272edcae57227451cbbb5 100644
--- a/src/main/java/net/minecraft/server/level/ServerLevel.java
+++ b/src/main/java/net/minecraft/server/level/ServerLevel.java
-@@ -441,8 +441,8 @@ public class ServerLevel extends Level implements WorldGenLevel {
+@@ -439,8 +439,8 @@ public class ServerLevel extends Level implements WorldGenLevel {
this.serverLevelData.setClearWeatherTime(clearDuration);
this.serverLevelData.setRainTime(rainDuration);
this.serverLevelData.setThunderTime(rainDuration);
@@ -19,7 +19,7 @@ index 1fe013b94cf1b5332f1e4645dd35df01e11fe0d9..055650b315d53b56798ded7af2054c3e
}
@Override
-@@ -875,8 +875,8 @@ public class ServerLevel extends Level implements WorldGenLevel {
+@@ -865,8 +865,8 @@ public class ServerLevel extends Level implements WorldGenLevel {
this.serverLevelData.setThunderTime(j);
this.serverLevelData.setRainTime(k);
this.serverLevelData.setClearWeatherTime(i);
@@ -30,7 +30,7 @@ index 1fe013b94cf1b5332f1e4645dd35df01e11fe0d9..055650b315d53b56798ded7af2054c3e
}
this.oThunderLevel = this.thunderLevel;
-@@ -943,14 +943,14 @@ public class ServerLevel extends Level implements WorldGenLevel {
+@@ -933,14 +933,14 @@ public class ServerLevel extends Level implements WorldGenLevel {
@VisibleForTesting
public void resetWeatherCycle() {
// CraftBukkit start