-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dont provide ITEM_HANDLER for Inventory instances
FFAPI's job is only to bridge implementation of the Fabric transfer API to the capability system, nothing more. Fabric's own lookup API considers Inventory instances to be a valid Storage because otherwise it would have no compat with Vanilla inventories. Forge however chose a different path by explicitly providing capability providers for selected Vanilla blocks. As such it is Forge's responsibility to bridge Vanilla blocks to the capability system and not ours by accidentally making everything that implements Inventory provide an ITEM_HANDLER capability. Fixes #87 Signed-off-by: Niklas Wimmer <[email protected]>
- Loading branch information
1 parent
6c53905
commit d456073
Showing
2 changed files
with
36 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters