Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve support for 1.21.3 version #7

Open
NoltoxGit opened this issue Nov 17, 2024 · 6 comments
Open

Improve support for 1.21.3 version #7

NoltoxGit opened this issue Nov 17, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@NoltoxGit
Copy link

Expected behavior

The aim is to have no errors when the plugin starts up in 1.21.3.

Observed/Actual behavior

When I start my server with the latest Paper 1.21.3 version, i've error in my console

[11:04:45 ERROR]: Could not pass event ServerLoadEvent to TreasureMapsPlus v0.7.1
java.lang.NoSuchMethodError: 'net.minecraft.core.Registry net.minecraft.core.RegistryAccess.registryOrThrow(net.minecraft.resources.ResourceKey)'
at TreasureMapsPlus-0.7.1.jar/me.machinemaker.treasuremapsplus.RegistryOverride.override(RegistryOverride.java:57) ~[TreasureMapsPlus-0.7.1.jar:?]
at TreasureMapsPlus-0.7.1.jar/me.machinemaker.treasuremapsplus.loot.ExplorationMapItemFunctionOverride.override(ExplorationMapItemFunctionOverride.java:88) ~[TreasureMapsPlus-0.7.1.jar:?]
at TreasureMapsPlus-0.7.1.jar/me.machinemaker.treasuremapsplus.listener.ServerLoad.onEvent(ServerLoad.java:44) ~[TreasureMapsPlus-0.7.1.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor109.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.21.3-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.21.3-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.21.3-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.3.jar:1.21.3-29-be886cf]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.3.jar:1.21.3-29-be886cf]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21.3-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:774) ~[paper-1.21.3.jar:1.21.3-29-be886cf]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:529) ~[paper-1.21.3.jar:1.21.3-29-be886cf]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:326) ~[paper-1.21.3.jar:1.21.3-29-be886cf]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1233) ~[paper-1.21.3.jar:1.21.3-29-be886cf]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:339) ~[paper-1.21.3.jar:1.21.3-29-be886cf]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Steps/models to reproduce

  1. Use the latest Paper version,
  2. Use the latest TreasureMapsPlus version,
  3. See the console.

Plugin and Datapack List

Server Plugins (85):
Paper Plugins:

  • HuskHomes, RoseStacker, TreasureMapsPlus
    Bukkit Plugins:
  • AdvancedChests, ajLeaderboards, AxBoosters, AxGraves, AxInventoryRestore, AxVaults, BattlePass, BeautyQuests, BeautyQuests-Expansion, BlockTracker, BottledExp, ChatGames-Premium, ChestProtect, Chunky, ChunkyBorder, ClueScrolls, CMI, CMIEInjector, CMILib, ContainerPassthrough, CoreProtect, craftableinvframes, CrazyEnvoys, CustomFishing, CustomNameplates, DeluxeMenus, DualHorse, eco, EcoEnchants, EcoItems, EconomyBridge, EternalTags, ExcellentCrates, ExcellentShop, F3NPerm, FastAsyncWorldEdit, GSit, HeadDatabase, HubParkour, InteractionVisualizer, ItemEdit, ItemsAdder, Jobs, Lands, libreforge, LoneLibs, LuckPerms, MasterCooldowns, Mclogs, MobFarmManager, ModelEngine, Multiverse-Core, MythicMobs, NBTAPI, nightcore, OpenInv, packetevents, PinataParty, Pl-Hide-Pro, PlaceholderAPI, PlayerPoints, PlayerWarps, PluginManager, PremiumVanish, ProtectedDebugStick, ProtocolLib, PurpurExtras, Quests, RoseChat, RoseLoot, ServerVariables, spark, TAB, TradeMe, Tweakin, UpgradeableHoppers, UpgradeableSpawners, Vault, VoteParty, WorldGuard, XenoWorldReset, ZNPCsPlus

Server Version Info

This server is running Paper version 1.21.3-29-master@be886cf (2024-11-15T09:07:14Z) (Implementing API version 1.21.3-R0.1-SNAPSHOT)
You are running the latest version

Plugin Version

Command doesn't exist??

Other

No response

@Machine-Maker Machine-Maker added the bug Something isn't working label Nov 17, 2024
@Machine-Maker
Copy link
Member

Can you test out TreasureMapsPlus.zip? If it fixes your issues, I'll release it in a bit.

@NoltoxGit
Copy link
Author

Can you test out TreasureMapsPlus.zip? If it fixes your issues, I'll release it in a bit.

Hi!
The link doesn't work :(

@Machine-Maker
Copy link
Member

Sorry, try again. I hadn't authorized downloads on this repo for some reason.

@NoltoxGit
Copy link
Author

Sorry, try again. I hadn't authorized downloads on this repo for some reason.

Ty, i'll try this now!

@NoltoxGit
Copy link
Author

Sorry, try again. I hadn't authorized downloads on this repo for some reason.

I don't think it's working...
I've just regenerated my world in version 1.21.3 and nothing works :(

Video:
https://cdn.discordapp.com/attachments/1130933626951975094/1307821829683023974/2024-11-17_22-34-55.mp4?ex=673bb37e&is=673a61fe&hm=7bbb482887f54dd1e167e765573ec8de1016416c1c5e3a448df6f5cef1b33230&

@NoltoxGit
Copy link
Author

Hey @Machine-Maker,
Do you have any news about this bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants