Posted January 31, 20205 yr I have a capability I want to attach to all players. You do that with the AttachCapabilitiesEvent<Entity> and check if it is a player. My problem is that the event is not called. Did I forget something? Here is a github repo:https://github.com/DJ1TJOO/fantasy20
January 31, 20205 yr https://github.com/DJ1TJOO/fantasy20/blob/master/src/main/java/nl/fantasynetworkmc/fantasy20/setup/GameEvents.java#L22 that is the wrong event bus and EventBusSubscriber only subscribes static methods
January 31, 20205 yr Author 3 minutes ago, loordgek said: https://github.com/DJ1TJOO/fantasy20/blob/master/src/main/java/nl/fantasynetworkmc/fantasy20/setup/GameEvents.java#L22 that is the wrong event bus and EventBusSubscriber only subscribes static methods Thanks the problem was the static I did not have and it as the wrong bus I changed it to try it out
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.