rolandoislas / PeripheralsPlusOne

A pseudo-port of miscperipherals, with other stuff as well!
https://minecraft.curseforge.com/projects/peripheralsplusone
GNU General Public License v2.0
9 stars 11 forks source link

Nanobot Swarm logoff break #5

Closed Drazuam closed 6 years ago

Drazuam commented 6 years ago

Description

When a player logs out and logs back in to a server, the nano bots applied to them no longer function correctly. When calling player.getPlayerName(), the code errors, saying the entity cannot be interacted with. This is reproducible on my server, running a modded FTB Revelations pack.

Some functions work correctly (like getRemainingBots() and isPlayer()) and some do not (like isDead() and getPlayerName())

It appears the main branch has a similar issue

Version affected: PPO-1.12.2-1.0-build-T31, Forge 2601