I'm having a bit of an issue with the API, specifically the InventoryLoadEvent. I have done some debugging, and can confirm the event does go off, but when I try to cancel the event, it doesn't cancel. I really need to cancel this specific event for my use case in a plugin I develop.
Hey, I'm having difficulty with PWI rn. My enderchests will save what is in my main world enderchests including when i go to other worlds on MultiVerse but if i add or remove an item from the enderchest in my nether map or my end map, when i return to normal map, nothing changes within the chest and it was as if i never added it in the first place. When i return to the world where i added it from, its gone there too.
Hi Since few days, some players complaint : when they reconnect, moretime they lose all their stuff. only their armor stay. I don't understand..
i having last spigot, last gm, last world edit and i having this error always a player come on my server: Spoiler: error Code (Text): [Server thread/ERROR]: Could not pass event PlayerSpawnLocationEvent to PerWorldInventory v2.2.1 org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.jar:git-Spigot-a1f2566-6a398ac] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.jar:git-Spigot-a1f2566-6a398ac] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.13.jar:git-Spigot-a1f2566-6a398ac] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.13.jar:git-Spigot-a1f2566-6a398ac] at net.minecraft.server.v1_13_R2.PlayerList.a(PlayerList.java:123) [spigot-1.13.jar:git-Spigot-a1f2566-6a398ac] at net.minecraft.server.v1_13_R2.LoginListener.b(LoginListener.java:150) [spigot-1.13.jar:git-Spigot-a1f2566-6a398ac] at net.minecraft.server.v1_13_R2.LoginListener.Y_(LoginListener.java:54) [spigot-1.13.jar:git-Spigot-a1f2566-6a398ac] at net.minecraft.server.v1_13_R2.NetworkManager.a(NetworkManager.java:231) [spigot-1.13.jar:git-Spigot-a1f2566-6a398ac] at net.minecraft.server.v1_13_R2.ServerConnection.c(ServerConnection.java:120) [spigot-1.13.jar:git-Spigot-a1f2566-6a398ac] at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:998) [spigot-1.13.jar:git-Spigot-a1f2566-6a398ac] at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.jar:git-Spigot-a1f2566-6a398ac] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.jar:git-Spigot-a1f2566-6a398ac] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.jar:git-Spigot-a1f2566-6a398ac] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72] Caused by: java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Double at me.ebonjaeger.perworldinventory.serialization.LocationSerializer.deserialize(LocationSerializer.kt:38) ~[perworldinventory-kt-2.2.1.jar:?] at me.ebonjaeger.perworldinventory.data.FlatFile.getLogout(FlatFile.kt:148) ~[perworldinventory-kt-2.2.1.jar:?] at me.ebonjaeger.perworldinventory.listener.player.PlayerSpawnLocationListener.onPlayerSpawn(PlayerSpawnLocationListener.kt:31) ~[perworldinventory-kt-2.2.1.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_72] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_72] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.jar:git-Spigot-a1f2566-6a398ac] ... 13 more
I can confirm this, happens in our server too. Latest spigot version CraftBukkit version git-Spigot-a1f2566-282dad1 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
I am not a Dev for this plugin, but I can say this: if you have the "Owner" role in a permissions plugin such as "PermissionsEx", your inventory will not change no matter what world you go to. I am not using Multiverse, and have discovered no issues with this plugin.
Issue I tried making a world share inventories with the main worlds but its not working, it keeps having the separate inventories when it meant to share inventories.
For those users who are having the error: Could not pass event PlayerSpawnLocationEvent to PerWorldInventory v2.2.1 on their server console every time a player logs in..... In the config.yml look for the setting: load-data-on-join and set it to false. I have no idea what difference it will actually make but everything seems OK on my server and the console error has gone. Probably not a solution but more of a workaround until the issue is resolved. I'm running Spigot 1.13.1 (build spigot-1.13.1-1915.jar:git-Spigot-f6a273b-a639ae4)
I get this error in console. I think is only Oped players that cause it. [Server thread/ERROR]: Could not pass event PlayerSpawnLocationEvent to PerWorldInventory v2.2.1 org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.2.jar:git-Spigot-573cdf2-dff66df] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.2.jar:git-Spigot-573cdf2-dff66df] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.13.2.jar:git-Spigot-573cdf2-dff66df] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.13.2.jar:git-Spigot-573cdf2-dff66df] at net.minecraft.server.v1_13_R2.PlayerList.a(PlayerList.java:123) [spigot-1.13.2.jar:git-Spigot-573cdf2-dff66df] at net.minecraft.server.v1_13_R2.LoginListener.b(LoginListener.java:150) [spigot-1.13.2.jar:git-Spigot-573cdf2-dff66df] at net.minecraft.server.v1_13_R2.LoginListener.tick(LoginListener.java:54) [spigot-1.13.2.jar:git-Spigot-573cdf2-dff66df] at net.minecraft.server.v1_13_R2.NetworkManager.a(NetworkManager.java:231) [spigot-1.13.2.jar:git-Spigot-573cdf2-dff66df] at net.minecraft.server.v1_13_R2.ServerConnection.c(ServerConnection.java:120) [spigot-1.13.2.jar:git-Spigot-573cdf2-dff66df] at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:998) [spigot-1.13.2.jar:git-Spigot-573cdf2-dff66df] at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2.jar:git-Spigot-573cdf2-dff66df] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.2.jar:git-Spigot-573cdf2-dff66df] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.2.jar:git-Spigot-573cdf2-dff66df] at java.lang.Thread.run(Unknown Source) [?:1.8.0_191] Caused by: java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Double at me.ebonjaeger.perworldinventory.serialization.LocationSerializer.deserialize(LocationSerializer.kt:38) ~[?:?] at me.ebonjaeger.perworldinventory.data.FlatFile.getLogout(FlatFile.kt:148) ~[?:?] at me.ebonjaeger.perworldinventory.listener.player.PlayerSpawnLocationListener.onPlayerSpawn(PlayerSpawnLocationListener.kt:31) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_191] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.2.jar:git-Spigot-573cdf2-dff66df]
@Gnat008 I keep getting this error (https://hastebin.com/eyalajilic.apache) Not sure what it is but something to do with PLAYER_HEAD I am running 1.12.2 Spigot (latest) with the latest version of the plugin. Which yes, I know is for 1.13 but it works.
I get this as well but I can confirm that it does not happen with only oped players. I get it for regular players as well. It seems to only happen for some and not always the same person which is confusing. For me Ive noticed my server load for this event being as high as 0.27ms out and takes about 15 mins before I see my load get more stead at 19.99, 19,99, 19.98 when I check the tps. I would say this as well as just making sure keeping up with latest changes with java and any imperfections in the plugin code should be updated. I notice lots of people asking for 1.13.2 version but if it works with out issue I get no need to update it but at least update other things that has change like java 11 for example as well any clean up.
Gnat008 updated Per World Inventory with a new update entry: Update 2.2.2 Read the rest of this update entry...
Hi there you're plugin looks amazing and I'd like to use it as I'm having some issues with my old world inventory manager, would it be ok if you could please add a converter for this plugin. That way I'll be able to move over to yours without having to manually move all player inventories over, it would mean a lot. https://www.spigotmc.org/resources/multiinv.56659/
I try to convert MVI to PWI and my console gets spammed with errors... I'm using latest PWI and build 444 of MVI. Code (Text): [Craft Scheduler Thread - 31/WARN]: [PerWorldInventory] Plugin PerWorldInventory v2.2.2 generated an exception while executing task 61 java.lang.IllegalStateException: Not scheduled yet at org.bukkit.scheduler.BukkitRunnable.checkScheduled(BukkitRunnable.java:149) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at org.bukkit.scheduler.BukkitRunnable.getTaskId(BukkitRunnable.java:143) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at org.bukkit.scheduler.BukkitRunnable.cancel(BukkitRunnable.java:29) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at me.ebonjaeger.perworldinventory.conversion.ConvertTask.finish(ConvertTask.kt:57) ~[?:?] at me.ebonjaeger.perworldinventory.conversion.ConvertTask.run(ConvertTask.kt:34) ~[?:?] at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:81) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_91] at java.lang.Thread.run(Unknown Source) [?:1.8.0_91] PS: in data folder the created files are missing ".json" ... files are just named "default_survival" f.e. There are more errors in console after changing that filenames and changing worlds ... Spoiler Code (Text): [16:35:01] [Server thread/WARN]: [PerWorldInventory] Failed to deserialize item in inventory: [ClassCastException] me.ebonjaeger.perworldinventory.libs.json.JSONObject cannot be cast to java.lang.String [16:35:01] [Server thread/WARN]: java.lang.ClassCastException: me.ebonjaeger.perworldinventory.libs.json.JSONObject cannot be cast to java.lang.String [16:35:01] [Server thread/WARN]: at me.ebonjaeger.perworldinventory.serialization.ItemSerializer.deserialize(ItemSerializer.kt:73) [16:35:01] [Server thread/WARN]: at me.ebonjaeger.perworldinventory.serialization.InventorySerializer.deserialize(InventorySerializer.kt:69) [16:35:01] [Server thread/WARN]: at me.ebonjaeger.perworldinventory.serialization.PlayerSerializer.deserialize(PlayerSerializer.kt:54) [16:35:01] [Server thread/WARN]: at me.ebonjaeger.perworldinventory.data.FlatFile.getPlayer(FlatFile.kt:129) [16:35:01] [Server thread/WARN]: at me.ebonjaeger.perworldinventory.data.ProfileManager.getPlayerData(ProfileManager.kt:97) [16:35:01] [Server thread/WARN]: at me.ebonjaeger.perworldinventory.listener.player.PlayerChangedWorldListener.onPlayerChangedWorld(PlayerChangedWorldListener.kt:106) [16:35:01] [Server thread/WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [16:35:01] [Server thread/WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [16:35:01] [Server thread/WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [16:35:01] [Server thread/WARN]: at java.lang.reflect.Method.invoke(Unknown Source) [16:35:01] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) [16:35:01] [Server thread/WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [16:35:01] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [16:35:01] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [16:35:01] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.PlayerList.moveToWorld(PlayerList.java:717) [16:35:01] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_13_R2.entity.CraftPlayer.teleport(CraftPlayer.java:626) [16:35:01] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_13_R2.entity.CraftEntity.teleport(CraftEntity.java:295) [16:35:01] [Server thread/WARN]: at com.onarandombox.MultiverseCore.utils.SimpleSafeTTeleporter.safelyTeleport(SimpleSafeTTeleporter.java:215) [16:35:01] [Server thread/WARN]: at com.onarandombox.MultiversePortals.listeners.PlayerListenerHelper.performTeleport(PlayerListenerHelper.java:44) [16:35:01] [Server thread/WARN]: at com.onarandombox.MultiversePortals.listeners.MVPPlayerMoveListener.playerMove(MVPPlayerMoveListener.java:137) [16:35:01] [Server thread/WARN]: at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) [16:35:01] [Server thread/WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [16:35:01] [Server thread/WARN]: at java.lang.reflect.Method.invoke(Unknown Source) [16:35:01] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) [16:35:01] [Server thread/WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [16:35:01] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [16:35:01] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [16:35:01] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:945) [16:35:01] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.PacketPlayInFlying.a(SourceFile:126) [16:35:01] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.PacketPlayInFlying$PacketPlayInPosition.a(SourceFile:57) [16:35:01] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) [16:35:01] [Server thread/WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [16:35:01] [Server thread/WARN]: at java.util.concurrent.FutureTask.run(Unknown Source) [16:35:01] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [16:35:01] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:895) [16:35:01] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [16:35:01] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:830) [16:35:01] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:728) [16:35:01] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source) Spoiler Code (Text): [16:35:01] [Server thread/ERROR]: Could not pass event PlayerChangedWorldEvent to PerWorldInventory v2.2.2 org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:309) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at net.minecraft.server.v1_13_R2.PlayerList.moveToWorld(PlayerList.java:717) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at org.bukkit.craftbukkit.v1_13_R2.entity.CraftPlayer.teleport(CraftPlayer.java:626) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at org.bukkit.craftbukkit.v1_13_R2.entity.CraftEntity.teleport(CraftEntity.java:295) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at com.onarandombox.MultiverseCore.utils.SimpleSafeTTeleporter.safelyTeleport(SimpleSafeTTeleporter.java:215) ~[?:?] at com.onarandombox.MultiversePortals.listeners.PlayerListenerHelper.performTeleport(PlayerListenerHelper.java:44) ~[?:?] at com.onarandombox.MultiversePortals.listeners.MVPPlayerMoveListener.playerMove(MVPPlayerMoveListener.java:137) ~[?:?] at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:945) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at net.minecraft.server.v1_13_R2.PacketPlayInFlying.a(SourceFile:126) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at net.minecraft.server.v1_13_R2.PacketPlayInFlying$PacketPlayInPosition.a(SourceFile:57) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_91] at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:895) [spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:830) [spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:728) [spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] at java.lang.Thread.run(Unknown Source) [?:1.8.0_91] Caused by: java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Float at me.ebonjaeger.perworldinventory.serialization.PlayerSerializer.deserialize(PlayerSerializer.kt:80) ~[?:?] at me.ebonjaeger.perworldinventory.data.FlatFile.getPlayer(FlatFile.kt:129) ~[?:?] at me.ebonjaeger.perworldinventory.data.ProfileManager.getPlayerData(ProfileManager.kt:97) ~[?:?] at me.ebonjaeger.perworldinventory.listener.player.PlayerChangedWorldListener.onPlayerChangedWorld(PlayerChangedWorldListener.kt:106) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[spigot-1.13.2_Stand31-12-18_BT88.jar:git-Spigot-518206a-c4a67ee] ... 28 more Maybe this is because of the faulty conversion ...
I get this issue everytime someone logins on the server: Code (Text): [15:29:21] [Server thread/ERROR]: Could not pass event PlayerSpawnLocationEvent to PerWorldInventory v2.2.2 org.bukkit.event.EventException: null at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot.jar:git-Spigot-f6a273b-a639ae4] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-f6a273b-a639ae4] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot.jar:git-Spigot-f6a273b-a639ae4] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot.jar:git-Spigot-f6a273b-a639ae4] at net.minecraft.server.v1_13_R2.PlayerList.a(PlayerList.java:123) [spigot.jar:git-Spigot-f6a273b-a639ae4] at net.minecraft.server.v1_13_R2.LoginListener.b(LoginListener.java:150) [spigot.jar:git-Spigot-f6a273b-a639ae4] at net.minecraft.server.v1_13_R2.LoginListener.Y_(LoginListener.java:54) [spigot.jar:git-Spigot-f6a273b-a639ae4] at net.minecraft.server.v1_13_R2.NetworkManager.a(NetworkManager.java:231) [spigot.jar:git-Spigot-f6a273b-a639ae4] at net.minecraft.server.v1_13_R2.ServerConnection.c(ServerConnection.java:120) [spigot.jar:git-Spigot-f6a273b-a639ae4] at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:998) [spigot.jar:git-Spigot-f6a273b-a639ae4] at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot.jar:git-Spigot-f6a273b-a639ae4] at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot.jar:git-Spigot-f6a273b-a639ae4] at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot.jar:git-Spigot-f6a273b-a639ae4] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161] Caused by: java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Double at me.ebonjaeger.perworldinventory.serialization.LocationSerializer.deserialize(LocationSerializer.kt:38) ~[?:?] at me.ebonjaeger.perworldinventory.data.FlatFile.getLogout(FlatFile.kt:148) ~[?:?] at me.ebonjaeger.perworldinventory.listener.player.PlayerSpawnLocationListener.onPlayerSpawn(PlayerSpawnLocationListener.kt:31) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_161] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_161] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_161] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_161] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot.jar:git-Spigot-f6a273b-a639ae4] ... 13 more Any ideas on how to fix this issue? This is causing players' inventories in one of the world groups to vanish completely.
Plugin was updated, I see, but we still seem to be getting this error: "[ERROR] Could not pass event PlayerSpawnLocationEvent to PerWorldInventory v2.2.2" I did set the "load-data-on-join" to false after I discovered this, and it has fixed it for now. Any time a player joins, no matter if the whitelist is on or off, it shows this message in console
@Gnat008 I am getting this error in console: https://hastebin.com/hifiguremo.apache How can I stop it from spamming my console?
All servers that are pre-1.13 need to be using the -legacy jar from the Releases page on Github: https://github.com/EbonJaeger/perworldinventory-kt/releases