mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-22 09:14:35 +01:00
Forgot to update something in GameCharacter.java
This commit is contained in:
@@ -573,7 +573,7 @@ public class GameCharacter implements GameDatabaseObject {
|
|||||||
|
|
||||||
public CharacterGem getGemFromPreset(CharacterGemPreset preset, int slotId) {
|
public CharacterGem getGemFromPreset(CharacterGemPreset preset, int slotId) {
|
||||||
// Get gem index
|
// Get gem index
|
||||||
int gemIndex = preset.getGemIndex(slotId - 1);
|
int gemIndex = preset.getGemIndex(slotId);
|
||||||
|
|
||||||
if (gemIndex <= 0) {
|
if (gemIndex <= 0) {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user