Crashes with entities moving through Nether portals
TheBentoBox opened this issue ยท 8 comments
I'll start with saying I'm not positive this is caused by MVNP, but it's hard to pin down because it doesn't seem consistent (it doesn't happen every time something enters a portal). It's a NullPointerException when checking the vehicle of entities when they enter a Nether portal, and doesn't seem to affect players, just non-player entities. The way vehicles work in 1.9 has changed - entities now use the "Passengers" tag to determine who is riding them, as opposed to a "Riding" tag to determing what they're riding. If you haven't updated the plugin to use this new format, that may be causing an isse.
Hmm I won't have a chance to look into this for at least a week (sorry) but yes. I'm aware of the changes to Entities and Vehicles and have started working on some things that should even allow /mvtp world
and that would tp you and whatever you're riding on to go there but no news for now.
Feel free to post anything else you find out in the meantime.
I believe we are having the same issue with 1.9 and MVNP, the only crashes we have had, have associated console spam with nether portals complaining and null exceptions.
We only crash when one of our players who likes to use our 'vanilla world' where the portals are based, is online.
Alright, thanks for the info. I've temporarily set up a command block clock in my spawn chunks to /entitydata the PortalCooldown tag of all non-player entities so that they can't travel through portals. Obviously it means nothing but players can use portals currently, but at least it's a temporary "fix" until you guys can hopefully patch it next week. I'll let you know if I notice anything else :)
Alright I did more testing and was able to get it to throw an error as opposed to these more vague crashes that don't point the finger at MVNP. Here's the stack trace of when the error occurs. The behavior we're getting is pretty damn bizarre. Portals basically randomly decide if they want to work. Some of them work much more consistently, and some of them just don't work at all.
The fact that some are much less likely to work than others means the issue is probably partly based on location conversions between the overworld and Nether - there was an issue with portals not working properly during the 1.9 snapshots. The changes Mojang made to the portal code to "fix" that bug probably cause issues with the plugin.
That error occurs when players try to use a portal and it decides not to work. Usually, it actually DOES spawn another portal at the intended location, it's just unable to actually teleport the player. This causes it to create a lot of portals, as it tries repeatedly to place a portal and teleport the player, often to no avail.
Any info on when this will be fixed or looked into more? It basically makes nether portals unusable still, at least reliably.
No word at this time. I haven't had any time to even look at it. Weekends
are more promising, but I was out all last week and catching up on other
things this week.
On Thu, Mar 31, 2016 at 5:10 PM, Jake Ben-Tovim [email protected]
wrote:
Any info on when this will be fixed or looked into more? It basically
makes nether portals unusable still, at least reliably.โ
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#110 (comment)