mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-19 15:09:25 +00:00
Fix build
This commit is contained in:
@@ -60,11 +60,10 @@ Thanks to these projects below. Leaf just mix some of their patches together. If
|
||||
- [Purpur](https://github.com/PurpurMC/Purpur)
|
||||
- [KeYi](https://github.com/KeYiMC/KeYi) (R.I.P.) [(Backup)](https://github.com/MikuMC/KeYiBackup)
|
||||
- [KTP](https://github.com/lynxplay/ktp)
|
||||
- [Patina](https://github.com/PatinaMC/Patina)
|
||||
- [Yatopia](https://github.com/YatopiaMC/Yatopia)
|
||||
- [Mirai](https://github.com/etil2jz/Mirai)
|
||||
- [Petal](https://github.com/Bloom-host/Petal)
|
||||
- [Carpet Fixes](https://github.com/fxmorin/carpet-fixes)
|
||||
- [VMP](https://github.com/RelativityMC/VMP-fabric) <!-- - [Hearse](https://github.com/Era4FunMC/Hearse) -->
|
||||
- [VMP](https://github.com/RelativityMC/VMP-fabric)
|
||||
- [Slice](https://github.com/Cryptite/Slice)
|
||||
- [Parchment](https://github.com/ProjectEdenGG/Parchment)
|
||||
- [Leaves](https://github.com/LeavesMC/Leaves)
|
||||
|
||||
@@ -9,10 +9,18 @@ Original project: https://github.com/LeavesMC/Leaves
|
||||
This patch is Powered by Jade(https://github.com/Snownee/Jade)
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
|
||||
index 441d5ed7f48a3725a0a50441eaa8ab68ce1025d8..8a0bfdda3800ef41f62b1fd9a7c3dc80ecdac5b8 100644
|
||||
index 441d5ed7f48a3725a0a50441eaa8ab68ce1025d8..31c80d1bce5e4721d8d0f45c28fbb3f5842416d4 100644
|
||||
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
|
||||
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
|
||||
@@ -3619,6 +3619,9 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic
|
||||
@@ -248,6 +248,7 @@ import org.bukkit.inventory.CraftingInventory;
|
||||
import org.bukkit.inventory.EquipmentSlot;
|
||||
import org.bukkit.inventory.InventoryView;
|
||||
import org.bukkit.inventory.SmithingInventory;
|
||||
+import top.leavesmc.leaves.util.ProtocolUtils;
|
||||
// CraftBukkit end
|
||||
|
||||
public class ServerGamePacketListenerImpl implements ServerPlayerConnection, TickablePacketListener, ServerGamePacketListener {
|
||||
@@ -3619,6 +3620,9 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic
|
||||
}
|
||||
// Paper end
|
||||
this.cserver.getMessenger().dispatchIncomingMessage(this.player.getBukkitEntity(), packet.identifier.toString(), data);
|
||||
|
||||
Reference in New Issue
Block a user