Skip to content

Commit

Permalink
Fix compat of some mods
Browse files Browse the repository at this point in the history
  • Loading branch information
wdog5 authored Aug 23, 2023
1 parent 3183ebb commit 29885c4
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,6 @@ public MixinMinecraftServer(String string) {
try { Thread.sleep(100); } catch (InterruptedException ex) {} // CraftBukkit - SPIGOT-625 - give server at least a chance to send packets
}

@ModifyConstant(method = "runServer", constant = @Constant(longValue = 15000L))
private long banner$changeWarningValue(long constant) {
return 30000L;
}

@Inject(method = "runServer", at = @At(value = "FIELD", target = "Lnet/minecraft/server/MinecraftServer;nextTickTime:J", shift = At.Shift.BEFORE))
private void banner$currentTick(CallbackInfo ci) {
BukkitExtraConstants.currentTick = (int) (System.currentTimeMillis() / 50); // CraftBukkit
Expand Down

0 comments on commit 29885c4

Please sign in to comment.