Slimefun / Slimefun4

Slimefun 4 - A unique Spigot/Paper plugin that looks and feels like a modpack. We've been giving you backpacks, jetpacks, reactors and much more since 2013.
GNU General Public License v3.0
972 stars 544 forks source link

You can take head out of slimefun guide #4071

Closed EagL3-GIT closed 10 months ago

EagL3-GIT commented 10 months ago

โ— Checklist

๐Ÿ“ Description

You can bug this head into your inventory:

image

Also, there is some error because of it:

[01:37:42 ERROR]: Could not pass event InventoryClickEvent to Slimefun vDev - 1118 java.lang.IllegalArgumentException: Illegal base64 character 2e at java.util.Base64$Decoder.decode0(Base64.java:848) ~[?:?] at java.util.Base64$Decoder.decode(Base64.java:566) ~[?:?] at java.util.Base64$Decoder.decode(Base64.java:589) ~[?:?] at io.github.thebusybiscuit.slimefun4.libraries.dough.skins.PlayerSkin.fromBase64(PlayerSkin.java:53) ~[Slimefun4-Dev.jar:?] at io.github.thebusybiscuit.slimefun4.libraries.dough.skins.PlayerSkin.fromBase64(PlayerSkin.java:68) ~[Slimefun4-Dev.jar:?] at io.github.thebusybiscuit.slimefun4.utils.SlimefunUtils.getCustomHead(SlimefunUtils.java:245) ~[Slimefun4-Dev.jar:?] at io.github.thebusybiscuit.slimefun4.core.guide.options.ContributorsMenu.getContributorHead(ContributorsMenu.java:90) ~[Slimefun4-Dev.jar:?] at io.github.thebusybiscuit.slimefun4.core.guide.options.ContributorsMenu.open(ContributorsMenu.java:54) ~[Slimefun4-Dev.jar:?] at io.github.thebusybiscuit.slimefun4.core.guide.options.SlimefunGuideSettings.lambda$addHeader$2(SlimefunGuideSettings.java:109) ~[Slimefun4-Dev.jar:?] at me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.MenuListener.onClick(MenuListener.java:56) ~[Slimefun4-Dev.jar:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor353.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:git-Paper-318] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.20.2.jar:git-Paper-318] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[paper-1.20.2.jar:git-Paper-318] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3108) ~[?:?] at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:58) ~[?:?] at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:23) ~[?:?] at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:53) ~[?:?] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.2.jar:git-Paper-318] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1324) ~[paper-1.20.2.jar:git-Paper-318] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:193) ~[paper-1.20.2.jar:git-Paper-318] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1301) ~[paper-1.20.2.jar:git-Paper-318] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1294) ~[paper-1.20.2.jar:git-Paper-318] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1272) ~[paper-1.20.2.jar:git-Paper-318] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1160) ~[paper-1.20.2.jar:git-Paper-318] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315) ~[paper-1.20.2.jar:git-Paper-318] at java.lang.Thread.run(Thread.java:833) ~[?:?]

๐Ÿ“‘ Reproduction Steps

  1. Take slimefun book
  2. Open it with shift click
  3. Take shown head and after some tries you can have it in your inventory

๐Ÿ’ก Expected Behavior

It should not happen.

๐Ÿ“ท Screenshots / Videos

No response

๐Ÿ“œ Server Log

No response

๐Ÿ“‚ /error-reports/ folder

No response

๐Ÿ’ป Server Software

Paper

๐ŸŽฎ Minecraft Version

1.20.x

โญ Slimefun version

Paper git-Paper-318 (MC: 1.20.2) Slimefun Dev - 1118 Metrics-Module #29 Java 17

Installed Addons: (11) Networks vDEV - 50 (git 3de3c9d6) InfinityExpansion vDEV - 144 (git 9da37202) AureliumSkills vBeta 1.3.23 ShopGUIPlus v1.93.0 LiteXpansion vMODIFIED aquacore v1.4-SNAPSHOT Residence v5.1.4.1 CMI v9.6.9.3 FluffyMachines vDEV - 132 (git ccf029ba) ItemsAdder v3.6.2d-beta-2 HeadLimiter vUNOFFICIAL

๐Ÿงญ Other plugins

No response