Updated Upstream (Paper)

Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@f40a3f67 Update README version badge for 26.2 [ci/skip] (#13953)
PaperMC/Paper@c04c71b2 fix folia entity scheduler
PaperMC/Paper@fe1b210d don't break Vex#getSummoner
PaperMC/Paper@d16f5ccc Use more accurate placed sound for block item
PaperMC/Paper@03b30e07 Reset updatingMinecraft
This commit is contained in:
granny
2026-06-14 00:55:11 -07:00
parent 0c913568e6
commit 26a1e028a1
5 changed files with 8 additions and 27 deletions

View File

@@ -8,15 +8,15 @@
}
} else {
// Change the stack to its new contents if it hasn't been tampered with.
@@ -477,6 +_,7 @@
@@ -476,6 +_,7 @@
if (!(block.getBlock() instanceof net.minecraft.world.level.block.BaseEntityBlock)) { // Containers get placed automatically
block.onPlace(level, newPos, oldBlock, true, context);
}
+ block.getBlock().forgetPlacer(); // Purpur - Store placer on Block when placed
level.notifyAndUpdatePhysics(newPos, null, oldBlock, block, level.getBlockState(newPos), updateFlags, net.minecraft.world.level.block.Block.UPDATE_LIMIT); // send null chunk as chunk.k() returns false by this point
level.notifyAndUpdatePhysics(newPos, null, oldBlock, block, level.getBlockState(newPos), snapshot.getFlags(), net.minecraft.world.level.block.Block.UPDATE_LIMIT); // send null chunk as chunk.k() returns false by this point
}
@@ -566,6 +_,26 @@
@@ -563,6 +_,26 @@
return this.isDamageableItem() && this.getDamageValue() > 0;
}
@@ -43,7 +43,7 @@
public int getDamageValue() {
return Mth.clamp(this.getOrDefault(DataComponents.DAMAGE, 0), 0, this.getMaxDamage());
}
@@ -1230,6 +_,12 @@
@@ -1227,6 +_,12 @@
public boolean isEnchanted() {
return !this.getOrDefault(DataComponents.ENCHANTMENTS, ItemEnchantments.EMPTY).isEmpty();
}