mirror of
https://github.com/songoda/UltimateRepairing.git
synced 2024-11-26 04:25:17 +01:00
Lets charge XP correctly.
This commit is contained in:
parent
fae3b80488
commit
19cadeb892
@ -163,7 +163,7 @@ public class RepairHandler {
|
||||
sold = true;
|
||||
}
|
||||
|
||||
if (type == RepairType.ECONOMY && player.getLevel() >= playerData.getPrice() || sold || player.getGameMode() == GameMode.CREATIVE) {
|
||||
if (type == RepairType.EXPERIENCE && player.getLevel() >= playerData.getPrice() || sold || player.getGameMode() == GameMode.CREATIVE) {
|
||||
playerData.setBeingRepaired(true);
|
||||
|
||||
Effect effect = Effect.STEP_SOUND;
|
||||
|
Loading…
Reference in New Issue
Block a user