kumpelblase2 / Remote-Entities

A library that enables you to control entities in minecraft.
Other
31 stars 28 forks source link

Reached end of stream for null #57

Closed IDragonfire closed 11 years ago

IDragonfire commented 11 years ago

Genera NPC plugin problem ... console prints: Reached end of stream for null

also on bukkit: https://github.com/MinecraftPortCentral/MCPC-Plus/issues/67

kumpelblase2 commented 11 years ago

The same fix I did for the old NPCLib from topcat long time ago should probably work with some change. I think I saw the same tactic on citizens too, so I guess that would fix it.

IDragonfire commented 11 years ago

that? https://github.com/CitizensDev/Citizens2/blob/master/src/main/java/net/citizensnpcs/util/NMS.java#L360

kumpelblase2 commented 11 years ago

No. I solved it by increasing the buffer for the NullSocket. https://github.com/kumpelblase2/Remote-Entities/blob/master/src/main/java/de/kumpelblase2/remoteentities/nms/NullSocket.java#L8

IDragonfire commented 11 years ago

ah, thx