mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-28 11:29:17 +00:00
Update PacketConsumers.java
This commit is contained in:
@@ -1653,6 +1653,7 @@ public class PacketConsumers {
|
||||
}
|
||||
}
|
||||
// now simulate vanilla item behavior
|
||||
serverPlayer.setResendSound();
|
||||
FastNMS.INSTANCE.simulateInteraction(serverPlayer.serverPlayer(), DirectionUtils.toNMSDirection(hitResult.direction()), hitResult.hitLocation().x, hitResult.hitLocation().y, hitResult.hitLocation().z, LocationUtils.toBlockPos(hitResult.blockPos()));
|
||||
} else {
|
||||
furniture.findFirstAvailableSeat(entityId).ifPresent(seatPos -> {
|
||||
|
||||
Reference in New Issue
Block a user