ValMobile / RealisticSurvival

Realistic Survival - A unique Spigot/Paper plugin inspired by RLCraft that aims to enhance pure survival, adventuring and RPG, and immersion of vanilla Minecraft.
GNU General Public License v3.0
32 stars 13 forks source link

Null Pointer Exception #23

Closed landoncrabtree closed 1 year ago

landoncrabtree commented 1 year ago

❗ Checklist

📍 Description

[15:23:55 ERROR]: Could not pass event PlayerJoinEvent to RealisticSurvival v1.2.4-RELEASE
java.lang.NullPointerException: Cannot invoke "me.val_mobile.data.RSVConfig.getConfig()" because the return value of "me.val_mobile.data.RSVModule.getUserConfig()" is null

📑 Reproduction Steps

  1. Login to the server
  2. Error

💡 Expected Behavior

There should be no NPE related to logging in.

📷 Screenshots / Videos

No response

📜 Server Log

No response

💻 Server Software

Paper

🎮 Minecraft Version

1.19.x

⭐ Realistic Survival version

1.2.4-RELEASE

🧭 Other plugins

No other plugins loaded.

ValMobile commented 1 year ago

This is a bug. PieMC discussed the solution on Discord, but I will restate it in case other people search for past issues (and their solutions) on the GitHub issue tracker. You can solve this by enabling the Ice And Fire module and disabling it on all your worlds.