Polymer

Polymer

763k Downloads

The AbstractElement#setInteractionHandler method has no effect for generic entity elements

haykam821 opened this issue ยท 0 comments

commented

I'm not sure why it is necessary to override the AbstractElement#getInteractionHandler method in the GenericEntityElement class with an implementation that does not read from the field modified by the AbstractElement#setInteractionHandler method, but doing so prevents the AbstractElement#setInteractionHandler method from having an effect.

@Override
public InteractionHandler getInteractionHandler(ServerPlayerEntity player) {
return InteractionHandler.EMPTY;
}