Catch NSME on network listener set

This commit is contained in:
fullwall 2022-12-20 21:35:51 +08:00
parent aa61f6b88c
commit 75b3ec1ceb
1 changed files with 2 additions and 0 deletions

View File

@ -256,6 +256,8 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder, Skinnable
socket.close();
} catch (IOException e) {
// swallow
} catch (NoSuchMethodError err) {
// swallow, reported by a single user on Discord
}
AttributeInstance range = getAttributeInstance(GenericAttributes.FOLLOW_RANGE);