mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-26 17:21:29 +01:00
Catch NSME on network listener set
This commit is contained in:
parent
aa61f6b88c
commit
75b3ec1ceb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user