CrafterKina / Pipes

Mozilla Public License 2.0
2 stars 2 forks source link

[1.11] Placing down pipe crashes client over 200 blocks away #20

Closed shortybsd closed 7 years ago

shortybsd commented 7 years ago

MC version 1.11 Forge 2199 Pipes version 1.11-1.1.0.5

Placing down pipes for some reason crashes a client really far away. NPE, might need an if check to see if other clients are in range. http://pastebin.com/UEPhC8Q4

CrafterKina commented 7 years ago

Thank you for reporting. The crash could not be reproduced, so I need to know some information to solve it.

shortybsd commented 7 years ago

Multiplayer, hence the trying to update a client not in range for rendering the pipe at last hence the crash. I have not tested the mod without all other mods. You need an if statement for checking if other players are in range before giving them updates for when they are not in range. I've seen that same crash from other mods a bit due to the same exact issue. Yes sir, the pipe was placed by hand. I can crash anyone on the server when I place pipes to Forestry's multifarm lol. I removed the mod for now.

CrafterKina commented 7 years ago

Looking at past crashes, I think that this solution is the best. Thanks again.

EDIT Revised version (1.1.0.6) released.