Hi. im trying to make a container that when it has an item in it it will give a potion effect to a player in a radius. im using the detectandSendChanges overide but i cant seem to access player. and when i add player to the container itself it wont register. do i have to make a new class to detect what is in the container
Container: https://pastebin.com/CDc68HJn
Registry: https://pastebin.com/Q6FNAXaW