Clean up files, 2.0.11 update
This commit is contained in:
parent
b8559e0e30
commit
f019c138f9
13 changed files with 95 additions and 365 deletions
|
|
@ -52,6 +52,9 @@ onEvent('recipes', event => {
|
|||
onEvent('entity.spawned', event => {
|
||||
if (event.getEntity().getType() === 'minecraft:item') {
|
||||
const itemEntity = event.getEntity();
|
||||
if (!itemEntity || !itemEntity.getItem()) {
|
||||
return;
|
||||
}
|
||||
if (itemEntity.getItem().getId() === 'minecraft:elytra') {
|
||||
itemEntity.setItem(Item.of('customizableelytra:customizable_elytra'));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue