mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 08:27:43 +01:00
Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly Paper Changes: PaperMC/Paper@921c5f93 Do not send update packets for saddle/body slots PaperMC/Paper@f00d9bce Second part of diff PaperMC/Paper@24cd24c8 Optimise CraftWorld#getLoadedChunks PaperMC/Paper@73c536da add new UI sound category PaperMC/Paper@a8df9346 Run generators PaperMC/Paper@77d1c233 Remove useless comments and FQN in source PaperMC/Paper@26a82545 fix some NPEs PaperMC/Paper@774c40e7 Update CraftWorld#getForceLoadedChunks to avoid using getChunkAt
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
+ if (hand == InteractionHand.OFF_HAND && (level().purpurConfig.villagerCanBeLeashed || level().purpurConfig.wanderingTraderCanBeLeashed) && this instanceof net.minecraft.world.entity.npc.AbstractVillager) return InteractionResult.CONSUME; // Purpur - Allow leashing villagers
|
||||
// Paper start - EntityUnleashEvent
|
||||
if (!org.bukkit.craftbukkit.event.CraftEventFactory.handlePlayerUnleashEntityEvent(
|
||||
leashable2, player, hand, !player.hasInfiniteMaterials()
|
||||
leashable2, player, hand, !player.hasInfiniteMaterials(), true
|
||||
@@ -3389,15 +_,18 @@
|
||||
return Vec3.directionFromRotation(this.getRotationVector());
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
|
||||
@@ -2352,6 +_,50 @@
|
||||
@@ -2370,6 +_,50 @@
|
||||
return (this.getHandle().getDragonFight() == null) ? null : new CraftDragonBattle(this.getHandle().getDragonFight());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user