Majrusz's Accessories

Majrusz's Accessories

6M Downloads

[Fabric 1.19.2] Is it possible to disable this method or the item that calls it?

zviger-x opened this issue ยท 0 comments

commented

The server tickrate drops to 5 units and the profiler complains about this method. I tried to manually change the source code, but Gradle gave a bunch of dependency errors. Is there any way to disable this code or the object that calls it? Perhaps this conflicts with the Lootr mod, but there is no way to disable it.

private void sendUpdatedBonus( OnPlayerTicked data ) {
ServerPlayer player = ( ServerPlayer )data.player;
MajruszsAccessories.MORE_CHEST_LOOT.sendToClient( player, new BonusInfo( MoreChestLoot.getDistanceBonus( player ) ) );
}