mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 14:46:46 +01:00
Fixed salvage deserializer swapping signature parameters
This commit is contained in:
parent
7ad0a61c53
commit
cc1eae150a
@ -49,7 +49,7 @@ public class SalvageableSerializer implements TypeSerializer<Salvageable> {
|
|||||||
int maximumQuantityReturned = value.getNode(MAXIMUM_QUANTITY_RETURNED).getValue(TypeToken.of(Integer.class));
|
int maximumQuantityReturned = value.getNode(MAXIMUM_QUANTITY_RETURNED).getValue(TypeToken.of(Integer.class));
|
||||||
int minimumLevel = value.getNode(OVERRIDE_LEVEL_REQUIREMENT).getValue(TypeToken.of(Integer.class));
|
int minimumLevel = value.getNode(OVERRIDE_LEVEL_REQUIREMENT).getValue(TypeToken.of(Integer.class));
|
||||||
|
|
||||||
return new Salvageable(item, itemReturnedBySalvage, maximumQuantityReturned, minimumLevel);
|
return new Salvageable(item, itemReturnedBySalvage, minimumLevel, maximumQuantityReturned);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user