Skip to content

Commit

Permalink
Merge branch '1.19.2' into 1.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
iron431 committed Mar 17, 2024
2 parents b2b9c6e + afcb6ec commit 7e8092e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions LATEST_CHANGES.MD
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
### Additions
- (1.20.1): Fully ported Tetra compatibility
- Added Shockwave Spell
- Added Pyromancer Tower Structure
- Pyromancer now lives here instead of the Mangrove Hut structure
Expand Down Expand Up @@ -47,6 +48,7 @@
- Fixed Arrow Volley entity not having an owner
- Fixed Evoker Fort cages having a gap, which pillagers could shoot and kill captive villagers through
- Fixed Apotheosis gem values
- Fixed scrolls with a count of more than 1 not display their school texture

### API
- Added interface for easier use of ExtendedArmorMaterials
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public interface ISpellContainer extends INBTSerializable<CompoundTag> {
void save(ItemStack stack);

static boolean isSpellContainer(ItemStack itemStack) {
if (itemStack != null && itemStack.getCount() == 1) {
if (itemStack != null && itemStack.getCount() >= 1) {
var tag = itemStack.getTag();
return tag != null && (tag.contains(SpellContainer.SPELL_SLOT_CONTAINER) || SpellContainer.isLegacyTagFormat(tag));
}
Expand Down

0 comments on commit 7e8092e

Please sign in to comment.