Skip to content

Development#11

Merged
BigKahuna7385 merged 18 commits into
masterfrom
development
May 1, 2021
Merged

Development#11
BigKahuna7385 merged 18 commits into
masterfrom
development

Conversation

@lkno0705
Copy link
Copy Markdown
Contributor

@lkno0705 lkno0705 commented May 1, 2021

No description provided.

CeItem equippedWeapon;

CeSlots[] slots = new CeSlots[10];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change CeSlots -> CeSlot

if (slot.getItem() != null && slot.getItem().compareTo(item)) {
slot.increaseAmount();
foundSlot = true;
addedItem = true;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

insert Break;

}
else if (slot.getItem() == null && !foundSlot) {
firstEmptySlot = i;
foundSlot = true;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

insert Break

}

public void setEquippedArmorShoulder(CeItem equippedArmorShoulder) throws WrongItemException {
if(equippedArmorShoulder.getType() == CeItemTypes.armorShoulder) this.equippedArmorShoulder = equippedArmorShoulder;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this.equippedArmorShoulder.setEquipped

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

equip / unequip

@BigKahuna7385 BigKahuna7385 merged commit dd7f06e into master May 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants