Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 21:10:10 +01:00
Properly calculate level cost for books. Fixes BUKKIT-3410
Dieser Commit ist enthalten in:
Ursprung
f1efe717bd
Commit
f10c986136
@ -196,6 +196,10 @@ public class ContainerAnvil extends Container {
|
|||||||
i3 = 1;
|
i3 = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (flag) {
|
||||||
|
i3 = Math.max(1, i3 / 2);
|
||||||
|
}
|
||||||
|
|
||||||
i += i3 * k2;
|
i += i3 * k2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren