Luohuayu / CatServer

高性能和高兼容性的1.12.2/1.16.5/1.18.2版本Forge+Bukkit+Spigot服务端 (A high performance and high compatibility 1.12.2/1.16.5/1.18.2 version Forge+Bukkit+Spigot server)
https://catmc.org
GNU Lesser General Public License v3.0
1.98k stars 211 forks source link

Maximum Potion IDs #216

Closed Blacky25 closed 4 years ago

Blacky25 commented 4 years ago

Hello,

I'm using a lot of mods and I already use Just enough IDs mod to expand the ID Range. The Server is running when I use Forge Server only.

But with CatServer i ran out of ids.

---- Minecraft Crash Report ---- // Uh... Did I do that?

Time: 2020-06-26 02:08:35 CEST Description: Exception in server tick loop

java.lang.ArrayIndexOutOfBoundsException: 255 at org.bukkit.potion.PotionEffectType.registerPotionEffectType(PotionEffectType.java:271) at catserver.server.BukkitInjector.registerPotions(BukkitInjector.java:104) at net.minecraft.server.MinecraftServer.loadAllWorlds(MinecraftServer.java:338) at net.minecraft.server.dedicated.DedicatedServer.init(DedicatedServer.java:327) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:596) at java.lang.Thread.run(Unknown Source)

Luohuayu commented 4 years ago

Fixed

Serega007RU commented 2 years ago

Fixed

How was the problem solved? Has a commit been made that fixes this problem? Can I have a link to this commit?