mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-21 18:37:42 +01:00
Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly Paper Changes: PaperMC/Paper@cfe3ad1 Updated Upstream (Bukkit/CraftBukkit/Spigot) PaperMC/Paper@02b5ec4 fix 2 more migration issues
This commit is contained in:
@@ -5,10 +5,10 @@ Subject: [PATCH] Customizable sleeping actionbar messages
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java
|
||||
index 14ebaab8ae3765ddcc56257ef5da657b8d4ef700..a8840bccc147237f74780f44241544b87d59ae8f 100644
|
||||
index f83ed9b55bc079cf90e51b52aaf027f0adc53873..dfff5fd35838987dab4d971731a093721f683073 100644
|
||||
--- a/src/main/java/net/minecraft/server/level/ServerLevel.java
|
||||
+++ b/src/main/java/net/minecraft/server/level/ServerLevel.java
|
||||
@@ -966,11 +966,27 @@ public class ServerLevel extends Level implements WorldGenLevel {
|
||||
@@ -969,11 +969,27 @@ public class ServerLevel extends Level implements WorldGenLevel {
|
||||
if (this.canSleepThroughNights()) {
|
||||
if (!this.getServer().isSingleplayer() || this.getServer().isPublished()) {
|
||||
int i = this.getGameRules().getInt(GameRules.RULE_PLAYERS_SLEEPING_PERCENTAGE);
|
||||
|
||||
Reference in New Issue
Block a user