QuiltServerTools / HeyThatsMine

MIT License
12 stars 12 forks source link

Unable to use API unless block entity inherits from LockableContainerBlockEntity #16

Closed ghost closed 2 years ago

ghost commented 2 years ago

Just implemented support for Hey That's Mine in Expanded Storage which should work however it's currently blocked by a check in HeyThatsMine's InteractionManager, can this check below be reduced to an blockEntity instanceof LockableObject? A similar check also exists in PlayerEventListener, also embedded below. https://github.com/QuiltServerTools/HeyThatsMine/blob/7b438057f20ec523fcbf8585162d429fa8e5343d/src/main/java/com/github/fabricservertools/htm/interactions/InteractionManager.java#L57

https://github.com/QuiltServerTools/HeyThatsMine/blob/b7f4e1e3c3cc0f127549e69ee85fb2882e0328ae/src/main/java/com/github/fabricservertools/htm/listeners/PlayerEventListener.java#L54