Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add custom armor #106

Open
dotV3 opened this issue Sep 8, 2022 · 4 comments
Open

Can't add custom armor #106

dotV3 opened this issue Sep 8, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@dotV3
Copy link

dotV3 commented Sep 8, 2022

Describe the bug
Basically, I can't add a custom armor even when I simply just tried the "armor template"

Expected behavior
To add a new armor

Actual behavior
server crashes if any item has "armor: true" regardless of anything else

@dotV3 dotV3 added the bug Something isn't working label Sep 8, 2022
@alvin0319
Copy link
Owner

Hi, I don't understand your issue. Please describe it more.

@dotV3
Copy link
Author

dotV3 commented Sep 11, 2022

I did the same steps to add a armor and followed the config and even the examples but it did not work and I tried removing in the config of the item

"armor: true"

and it worked which resulted in the conclusion of any item that has "armor: true" would not work or basically the example you've provided is not correct
which is

items:
<your_item_name>:
id:
meta:
namespace:
armor: true
armor_slot: chest
defence_points: 5 # Defence points of armor
armor_class: diamond # Default is diamond, feel free to send feedback to me

yes, I did change the item name and id and meta etc and still did not work

@alvin0319
Copy link
Owner

Any error messages on console?

@dotV3
Copy link
Author

dotV3 commented Sep 11, 2022

the server doesn't crash because it doesn't load in the first place

"Failed to load some plugins"

all plugins do load except CustomItemLoader

and the moment I remove "armor: true" from the config, the server opens and works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants