Skip to content
New issue

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

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

Already on GitHub? # to your account

org.bukkit.potion.PotionType UNCRAFTABLE was removed in 1.20.6 #199

Open
4 tasks done
IAISI opened this issue Jul 10, 2024 · 0 comments
Open
4 tasks done

org.bukkit.potion.PotionType UNCRAFTABLE was removed in 1.20.6 #199

IAISI opened this issue Jul 10, 2024 · 0 comments

Comments

@IAISI
Copy link

IAISI commented Jul 10, 2024

Required Information

  • FAVS Version Number (/version IllegalStack):
  • Spigot/Paper Version Number (/version):
  • Output of /version:

version IllegalStack
[14:06:44 INFO]: IllegalStack version 2.9.12-SNAPSHOT-01
[14:06:44 INFO]: Closes some dupe bugs still present in vanilla minecraft.
[14:06:44 INFO]: Website: https://www.spigotmc.org/resources/44411/
[14:06:44 INFO]: Authors: dNiym and Loving11ish

ver
[14:06:55 INFO]: .
| This server is running Sakura
| Commit: targeting (MC: 1.20.6)
| Github:
'

Describe the bug
A clear and concise description of what the bug is.

com.destroystokyo.paper.exception.ServerEventException: Could not pass event ProjectileLaunchEvent to IllegalStack v2.9.12-SNAPSHOT-01
	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:72)
	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131)
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)
	at org.bukkit.craftbukkit.event.CraftEventFactory.callProjectileLaunchEvent(CraftEventFactory.java:1467)
	at org.bukkit.craftbukkit.event.CraftEventFactory.doEntityAddEventCalling(CraftEventFactory.java:698)
	at net.minecraft.server.level.ServerLevel.addEntity(ServerLevel.java:1720)
	at net.minecraft.server.level.ServerLevel.addFreshEntity(ServerLevel.java:1642)
	at net.minecraft.server.level.ServerLevel.addFreshEntity(ServerLevel.java:1637)
	at net.minecraft.world.item.ThrowablePotionItem.use(ThrowablePotionItem.java:27)
	at net.minecraft.world.item.SplashPotionItem.use(SplashPotionItem.java:18)
	at net.minecraft.world.item.ItemStack.use(ItemStack.java:598)
	at net.minecraft.server.level.ServerPlayerGameMode.useItem(ServerPlayerGameMode.java:483)
	at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItem(ServerGamePacketListenerImpl.java:2016)
	at net.minecraft.network.protocol.game.ServerboundUseItemPacket.handle(ServerboundUseItemPacket.java:39)
	at net.minecraft.network.protocol.game.ServerboundUseItemPacket.handle(ServerboundUseItemPacket.java:10)
	at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:55)
	at net.minecraft.server.TickTask.run(TickTask.java:18)
	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:151)
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24)
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1519)
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:195)
	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:125)
	at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1496)
	at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1419)
	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:135)
	at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1385)
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1246)
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:324)
	at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.lang.NoSuchFieldError: Class org.bukkit.potion.PotionType does not have member field 'org.bukkit.potion.PotionType UNCRAFTABLE'
	at IllegalStack.jar//main.java.me.dniym.checks.BadPotionCheck.isInvalidPotion(BadPotionCheck.java:81)
	at IllegalStack.jar//main.java.me.dniym.listeners.Listener114.onProjectileLaunch(Listener114.java:323)
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor882.execute(Unknown Source)
	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77)
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77)
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
	... 28 more

To Reproduce
Steps to reproduce the behavior:
Not sure, I assume all potion validations on 1.20.6 cause this

Plugins being used on the server

Checklist:

  • I included all information required in the sections above
  • I made sure there are no duplicates of this report (Use Search)
  • I made sure I am using an up-to-date version of IllegalStack
  • I made sure the bug/error is not caused by any other plugin
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant