fix: 修复了强化深板岩可获取功能不可用的问题

This commit is contained in:
Disy authored and zly2006 committed 2024-07-11 12:14:01 +08:00
1 parent a0ffb5eb6a
commit e8dc993ed2
13 files changed
+77 -68

No files matched your search

@@ -131,7 +131,7 @@ public class ServerMain implements ModInitializer, CarpetExtension {
ServerPlayerEntity player = context.getSource().getPlayer();
assert player != null;
if (player.getVehicle() != null) { // 防止重复的坐下行为
if (player.getVehicle() != null || !player.isOnGround()) { // 防止错误的坐下行为
return 1;
}