mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-22 10:36:00 +01:00
Remove normal/undyed shulker boxes from My Items inventories.
Removes the first `_` in the `_SHULKER_BOX` matching to ensure that normal shulker boxes with ID `SHULKER_BOX` are removed from My Items as well. Co-authored-by: Andreas Troelsen <garbagemule@gmail.com>
This commit is contained in:
parent
c88f20c46f
commit
3e2c614c18
@ -38,6 +38,7 @@ These changes will (most likely) be included in the next version.
|
||||
- Flaming arrows now ignite TNT blocks in the arena.
|
||||
- Players no longer take fall damage when they leave (or get removed from) an arena while falling.
|
||||
- Players no longer take damage from projectiles shot by pets of other players.
|
||||
- Normal shulker boxes are now properly removed from inventories of players using the My Items class.
|
||||
- MobArena no longer nags players with the `mobarena.admin.teleport` permission when they engage in a teleport that would have otherwise been blocked.
|
||||
- MobArena now correctly sets the source property on auto-ignited TNT.
|
||||
|
||||
|
@ -295,7 +295,7 @@ public class ArenaClass
|
||||
case SHULKER_SHELL:
|
||||
return true;
|
||||
}
|
||||
return type.name().endsWith("_SHULKER_BOX");
|
||||
return type.name().endsWith("SHULKER_BOX");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user