CoreProtect

CoreProtect

1M Downloads

Cannot get data for not block END_CRYSTAL

argon000s opened this issue ยท 1 comments

commented

Not sure if this is a bug but when previewing a rollback with #preview I get this error:

[03:05:17] [Server thread/INFO]: username issued server command: /co rollback time:99d radius:100 #preview
[03:05:21] [Server thread/WARN]: java.lang.IllegalArgumentException: Cannot get data for not block END_CRYSTAL
[03:05:21] [Server thread/WARN]: 	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:220)
[03:05:21] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_18_R1.block.data.CraftBlockData.newData(CraftBlockData.java:513)
[03:05:21] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_18_R1.CraftServer.createBlockData(CraftServer.java:2518)
[03:05:21] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_18_R1.CraftServer.createBlockData(CraftServer.java:2493)
[03:05:21] [Server thread/WARN]: 	at org.bukkit.Bukkit.createBlockData(Bukkit.java:1925)
[03:05:21] [Server thread/WARN]: 	at org.bukkit.Material.createBlockData(Material.java:4101)
[03:05:21] [Server thread/WARN]: 	at CoreProtect-20.4.jar//net.coreprotect.database.Rollback.lambda$performRollbackRestore$0(Rollback.java:493)
[03:05:21] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101)
[03:05:21] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483)
[03:05:21] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1547)
[03:05:21] [Server thread/WARN]: 	at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:480)
[03:05:21] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1470)
[03:05:21] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1264)
[03:05:21] [Server thread/WARN]: 	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317)
[03:05:21] [Server thread/WARN]: 	at java.base/java.lang.Thread.run(Thread.java:833)
[03:05:21] [Thread-1716/INFO]: [CoreProtect] Rollback or restore aborted.

Some if the restore preview shows and gets stuck and i have to rejoin for it to disappear.

Server is Paper version git-Paper-170 (MC: 1.18.1)
CoreProtect v20.4.

List of plugins: AdvancedPortals, AdvancedTeleport, ArmorStandTools, AuthMe, AutoSave, BannerMaker, BetterTeams, BungeeTabListPlus, CoreProtect, DiscordSRV, DropHeads, dynmap, Dynmap-WorldGuard*, eBackup, Enchantments_plus, Essentials, EssentialsChat, EssentialsProtect, EssentialsSpawn, floodgate, FoundDiamonds, GMusic, GriefPrevention, GriefPreventionDynmap*, GSit, HolographicDisplays, ImageOnMap, InventoryRollbackPlus, LibsDisguises, LockettePro, Log4JExploitFix, LuckPerms, MyCommand, PlaceholderAPI, Plan, PremiumVanish, ProtocolLib, Shopkeepers, ShopkeepersAddon, SilkSpawners, SkinsRestorer, TitleWelcomeMessage, UltimateAutoRestart, Vault, Vulcan, WebConsole, WorldEdit, WorldGuard, WorldGuardExtraFlags

commented

Fixed in 635a2b0

(Will be included in CoreProtect v21.0)