Shopkeepers

Shopkeepers

2M Downloads

Error on startup

blablubbabcDEV opened this issue ยท 5 comments

commented

Migrated from: https://dev.bukkit.org/projects/shopkeepers/issues/324

Originally posted by TheOnlyRealTGS (Jun 22, 2015):

Getting this error on startup, suspect it's related to shopkeepers
http://pastebin.com/qeSQZkKp
v1.60

commented

Originally commented by blablubbabc (Jun 22, 2015):

Hm, I currently doubt that this is related to shopkeepers:

The error seems to occur when it tries to save the trades of an villager entity for a chunk which is currently saved, however:

Shopkeepers doesn't actually modify the trades of villagers in the world (only their behavior to stop them from walking around). Whenever a player trades with a shopkeeper a new villager gets temporary, internally created, the trades for that internal villager get modified and then opened for the player. However, that internal villager entity is never actually 'added to the world', so it shouldn't be saved together with the chunk either (the chunk doesn't know about that internal villager entity).
If you disable/remove the shopkeepers plugin from the server, does that error still come up?
Could it be that you have modified or created a villager by any other means, maybe via some other plugin, or by spawning a villager with custom trades via minecraft's commands?

        Edited Jun 22, 2015
commented

Originally commented by TheOnlyRealTGS (Jun 23, 2015):

[at]blablubbabc:
If you disable/remove the shopkeepers plugin from the server, does that error still come up?

Can't test that easily :/
Could it be that you have modified or created a villager by any other means, maybe via some other plugin, or by spawning a villager with custom trades via minecraft's commands?

Doubt it, don't remember spawning any.
If only I knew what world to look in.

commented

Originally commented by blablubbabc (Jun 24, 2015):

[at]TheOnlyRealTGS:
Quote:Can't test that easily :/

How comes that? This seems like the easiest and quickest way to me for verifying if shopkeepers is related to this.
Quote: If only I knew what world to look in.

Maybe your world management plugin allows (un)loading worlds on the fly. So depending on the amount of worlds you have you might maybe be able to trigger this error by unloading and reloading one world after the other. (might be laggy though)
Besides of that, I currently don't know how I could help you further here.. Never had this kind of problem yet.

commented

Originally commented by TheOnlyRealTGS (Jun 24, 2015):

[at]blablubbabc:
How comes that? This seems like the easiest and quickest way to me for verifying if shopkeepers is related to this.

Many players online, anyway I disabled shopkeepers and it still happened. So probably not this plugin.
Closing this, thanks for help!

        Edited Jun 24, 2015
commented

Originally closed by TheOnlyRealTGS (Jun 24, 2015)