mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-19 15:09:25 +00:00
Update CraftEngineProvider.java
This commit is contained in:
@@ -82,7 +82,7 @@ public class CraftEngineProvider implements CustomItemProvider {
|
||||
@Override
|
||||
public @Nullable String furnitureID(Entity entity) {
|
||||
return Optional.ofNullable(CraftEngineFurniture.getLoadedFurnitureByBaseEntity(entity))
|
||||
.map(it -> it.furnitureId().toString())
|
||||
.map(it -> it.id().toString())
|
||||
.orElse(null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user