Closed PabloKateee closed 3 months ago
This can be safely ignored. It is just because the Material class values are being obtained. Spigot should really remove this.
Yes I know but in this case the server always gets a strong tps drop, how could I fix it ? Or replace the old material with the new one?
The issue is not the legacy support, it's the code that's running there to clear statistics. I'm working to try and avoid that lag.
Okay, I'm wrong. It is Legacy support. There's no way to not trigger that, but I can do it only once at the start so it shouldn't affect in normal play. Note that InvSwitcher also had the same issue, so I updated that too.
Should be better in the latest release. Note you have to install latest Bentobox too.
Cool thank you very much is the update already available today? Then I'll download it directly after work 😄😄😄
Yes. It's in the latest release.
https://paste.jubyte.com/berayasaro.yaml
I now have the new bento version on it and the addons too, but the error is the same
That's not due to Legacy Material though, right?
If you are worried about that little bit of lag then check timings or Spark.
Expected behavior
[17:49:46 INFO]: PabloKateee issued server command: /boxed [17:49:46 WARN]: [org.bukkit.craftbukkit.legacy.CraftLegacy] Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug! [17:49:50 WARN]: Can't keep up! Is the server overloaded? Running 3526ms or 70 ticks behind
Observed/Actual behavior
[17:49:46 INFO]: PabloKateee issued server command: /boxed [17:49:46 WARN]: [org.bukkit.craftbukkit.legacy.CraftLegacy] Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug! [17:49:50 WARN]: Can't keep up! Is the server overloaded? Running 3526ms or 70 ticks behind
Steps/models to reproduce
[17:49:46 INFO]: PabloKateee issued server command: /boxed [17:49:46 WARN]: [org.bukkit.craftbukkit.legacy.CraftLegacy] Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug! [17:49:50 WARN]: Can't keep up! Is the server overloaded? Running 3526ms or 70 ticks behind
BentoBox version
1.21-2284-4e55e26 MC:1.21
Plugin list
[17:54:19 INFO]: Bukkit Plugins: (40): [17:54:19 INFO]: - AFKPrevention, AuctionHouse, AuraMobs, AuraSkills, BentoBox, BentoBox-Boxed, BentoBox-Level, BentoBox-Likes, BentoBox-Visit, BetterGUI [17:54:19 INFO]: Citizens, CMI, CMIEInjector, CMILib, CoinsEngine, CombatPets, ExcellentCrates, FastAsyncWorldEdit, GlobalStats, InteractionVisualizer [17:54:19 INFO]: Jobs, LevelTools, LuckPerms, MobFarmManager, Multiverse-Core, MysqlPlayerDataBridge, nightcore, packetevents, Pl-Hide-Pro, PlaceholderAPI [17:54:19 INFO]: ProtocolLib, StreamingDrops, TAB-Bridge, Tebex, Vault, ViaBackwards, ViaVersion, Vulcan, WorldGuard, WorldGuardExtraFlags
Other
this error always appears when you teleport into the box, i.e. the first one after the restart