Skript cannot save classes imported by skript-reflect. #56
Open
Description
Describe the bug
Skript cannot serialize imported classes even if they implement serializable. (Only tested on BigDecimal and MathContext)
To reproduce
- Import the class
import:
java.math.BigDecimal
- Create variable
set {test} to new BigDecimal(100)
- Attempt to reload or stop (save variables)
After doing this errors appear and skript will be unable to save any variables.
Expected behavior
Expected to be able to save java's BigDecimal class to variables.csv but was instead unable to save anything.
Server information
- skript-reflect:
- Skript: 2.6.3
- Bukkit: 1.18.2-R0.1-SNAPSHOT (Spigot)
- Minecraft: 1.18.2
- Java: 18.0.1.1 (Java HotSpot(TM) 64-Bit Server VM 18.0.1.1+2-6)
- OS: Windows 10 amd64 10.0