Skip to content

Commit

Permalink
Clean up Patch
Browse files Browse the repository at this point in the history
  • Loading branch information
404Setup committed Nov 30, 2024
1 parent d2861e9 commit 401738c
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions patches/server/0003-Base-Dirty-Patches.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,6 @@ Date: Sat, 5 Oct 2024 09:02:20 +0800
Subject: [PATCH] Base Dirty Patches


diff --git a/build.gradle.kts b/build.gradle.kts
index 49f4304fef24e3900bd792ccdf05ecdccc858762..5087319867dfb4c5de1e60a99e043575c2606d45 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -108,14 +108,14 @@ tasks.jar {
val gitBranch = git("rev-parse", "--abbrev-ref", "HEAD").getText().trim() // Paper
attributes(
"Main-Class" to "org.bukkit.craftbukkit.Main",
- "Implementation-Title" to "LightingLuminol"; // Folia // Luminol // LightingLuminol
+ "Implementation-Title" to "LightingLuminol", // Folia // Luminol // LightingLuminol
"Implementation-Version" to implementationVersion,
"Implementation-Vendor" to date, // Paper
- "Specification-Title" to "LightingLuminol"; // Folia // Luminol // LightingLuminol
+ "Specification-Title" to "LightingLuminol", // Folia // Luminol // LightingLuminol
"Specification-Version" to project.version,
"Specification-Vendor" to "LuminolMC Team", // Luminol
"Brand-Id" to "luminolmc:luminol", // Folia // Luminol
- "Brand-Name" to "LightingLuminol"; // Folia // Luminol // LightingLuminol
+ "Brand-Name" to "LightingLuminol", // Folia // Luminol // LightingLuminol
"Build-Number" to (build ?: ""),
"Build-Time" to Instant.now().toString(),
"Git-Branch" to gitBranch, // Paper
diff --git a/src/main/java/ca/spottedleaf/moonrise/common/list/ReferenceList.java b/src/main/java/ca/spottedleaf/moonrise/common/list/ReferenceList.java
index 2e876b918672e8ef3b5197b7e6b1597247fdeaa1..6c4e25e5e21044c0fa9728e475b28f6478783037 100644
--- a/src/main/java/ca/spottedleaf/moonrise/common/list/ReferenceList.java
Expand Down Expand Up @@ -876,7 +854,7 @@ index 5cc71c882dba16034c976f8e6eb98a1616b67030..585919c13e708c86c15bc017e654be77
- this.console.initWorld(internal, worlddata, worlddata, worlddata.worldGenOptions());
+ //this.console.initWorld(internal, worlddata, worlddata, worlddata.worldGenOptions());
+ io.papermc.paper.threadedregions.RegionizedServer.getInstance().addWorld(internal);
+ int loadRegionRadius = ((32) >> 4);
+ int loadRegionRadius = 1024 >> 4;
+ internal.randomSpawnSelection = new net.minecraft.world.level.ChunkPos(internal.getChunkSource().randomState().sampler().findSpawnPosition());
+ for (int currX = -loadRegionRadius; currX <= loadRegionRadius; ++currX) {
+ for (int currZ = -loadRegionRadius; currZ <= loadRegionRadius; ++currZ) {
Expand Down

0 comments on commit 401738c

Please sign in to comment.