mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-20 18:07:43 +01:00
Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly Paper Changes: PaperMC/Paper@a3dfe6d Updated Upstream (Bukkit/CraftBukkit/Spigot) (#6722) PaperMC/Paper@fdd5c65 Fix CraftCriteria defaults map (#6723) PaperMC/Paper@d54e8c5 Support components in command permission msgs (#6676) PaperMC/Paper@e155002 Fix EntityPortalExitEvent not being called (#5617) PaperMC/Paper@e4d8c47 Update adventure and fix command perm serialization NPE (#6729) PaperMC/Paper@0cdeeef Remove unnecessary Velocity repo from server (#6730) PaperMC/Paper@a419941 Add download link to the /version command (#6482) PaperMC/Paper@8e661c6 Deprecate API methods added by 'Close Plugin Class Loaders on Disable' (#6737) PaperMC/Paper@7991c4b Fix upstream block state factories (#6738) PaperMC/Paper@bfe5622 Fix EntityPortalExitEvent target location PaperMC/Paper@3391ccf Discard out of bounds chunks during regionfile header recalculation PaperMC/Paper@cf4af9f Add config setting for logging player ip addresses. (#6342) PaperMC/Paper@6dfc0f5 Add getChangedBlockData() property to BlockPhysicsEvent to expose BlockData (#6743) PaperMC/Paper@0d1e187 Fix kicking ops when whitelist is reloaded (MC-171420) (#6742) PaperMC/Paper@975f2e5 Filter ip address on join if setting is true (#6748)
This commit is contained in:
@@ -33,10 +33,10 @@ index 43841b5c77beb73169e2ff1645afe1234d8f74c7..d5d9f8e9c7119ae159a085aa414fc7f3
|
||||
entityageable.setBaby(true);
|
||||
entityageable.moveTo(this.getX(), this.getY(), this.getZ(), 0.0F, 0.0F);
|
||||
diff --git a/src/main/java/net/minecraft/world/level/Level.java b/src/main/java/net/minecraft/world/level/Level.java
|
||||
index 25422752c79ea4ee547caa46fa4ed920622e682e..5e06dbb25359b593c6960652ee99f8227bf4deb0 100644
|
||||
index 4253e200927aeec8bc4805bd9b2cadcebdfcc1aa..e2d942fbc65c82e9e0d6b1ec81bb77b480ff7627 100644
|
||||
--- a/src/main/java/net/minecraft/world/level/Level.java
|
||||
+++ b/src/main/java/net/minecraft/world/level/Level.java
|
||||
@@ -188,6 +188,49 @@ public abstract class Level implements LevelAccessor, AutoCloseable {
|
||||
@@ -189,6 +189,49 @@ public abstract class Level implements LevelAccessor, AutoCloseable {
|
||||
}
|
||||
// Paper end - fix and optimise world upgrading
|
||||
|
||||
@@ -86,7 +86,7 @@ index 25422752c79ea4ee547caa46fa4ed920622e682e..5e06dbb25359b593c6960652ee99f822
|
||||
public CraftWorld getWorld() {
|
||||
return this.world;
|
||||
}
|
||||
@@ -318,6 +361,7 @@ public abstract class Level implements LevelAccessor, AutoCloseable {
|
||||
@@ -319,6 +362,7 @@ public abstract class Level implements LevelAccessor, AutoCloseable {
|
||||
this.spigotConfig = new org.spigotmc.SpigotWorldConfig(((net.minecraft.world.level.storage.PrimaryLevelData) worlddatamutable).getLevelName()); // Spigot
|
||||
this.paperConfig = new com.destroystokyo.paper.PaperWorldConfig(((net.minecraft.world.level.storage.PrimaryLevelData) worlddatamutable).getLevelName(), this.spigotConfig); // Paper
|
||||
this.purpurConfig = new net.pl3x.purpur.PurpurWorldConfig((ServerLevel) this, ((net.minecraft.world.level.storage.PrimaryLevelData) worlddatamutable).getLevelName(), env); // Purpur
|
||||
@@ -95,7 +95,7 @@ index 25422752c79ea4ee547caa46fa4ed920622e682e..5e06dbb25359b593c6960652ee99f822
|
||||
this.world = new CraftWorld((ServerLevel) this, gen, biomeProvider, env);
|
||||
this.ticksPerAnimalSpawns = this.getCraftServer().getTicksPerAnimalSpawns(); // CraftBukkit
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index b285a01ab3dd34aefc5e082a60d762de454ac046..28d75a22b1197fb1451f0b1fe26c335494cea901 100644
|
||||
index 837197a340063bc8e3fb793e211828938e07b533..ac2c890ca61b5193a585eafb4e3f612ee8a2b8e3 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -362,6 +362,7 @@ public class PurpurWorldConfig {
|
||||
|
||||
Reference in New Issue
Block a user