mirror of
https://github.com/songoda/UltimateKits.git
synced 2024-11-08 11:41:28 +01:00
fix(Roulette Kit): Don't check for entire space of kit free when using the kit roulette option.
This commit is contained in:
parent
c23802ec69
commit
9574a237d0
@ -90,6 +90,9 @@ public class Kit {
|
||||
}
|
||||
}
|
||||
|
||||
// Since roulette only gives one item, we don't need to check if the user has room for the whole kit.
|
||||
if (kitAnimation == KitAnimation.ROULETTE && space >= 1)
|
||||
return true;
|
||||
|
||||
return space >= itemAmount;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user