fix: 修ItemInstanceMixin的instanceof编译错误(用(Object)强转)

This commit is contained in:
AxTps committed 2026-10-05 19:19:18 +08:00
1 parent 022b2144d3
commit c647189f77
1 file changed
+1 -1
@@ -29,7 +29,7 @@ public interface ItemInstanceMixin {
if (!SLSCarpetSettings.stackableVehicles) {
return;
}
if (!(this instanceof ItemStack stack)) {
if (!((Object) this instanceof ItemStack stack)) {
return;
}
Item item = stack.getItem();