Ran Biome

This commit is contained in:
Bertie690 2025-09-13 00:33:37 -04:00
parent a5306b9400
commit 6a8a8e3ca0
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
* - The tag is added to / removed from {@linkcode NonSerializableArenaTagType} or {@linkcode SerializableArenaTagType} * - The tag is added to / removed from {@linkcode NonSerializableArenaTagType} or {@linkcode SerializableArenaTagType}
*/ */
export enum ArenaTagType { export enum ArenaTagType {
NONE = "NONE", NONE = "NONE",
MUD_SPORT = "MUD_SPORT", MUD_SPORT = "MUD_SPORT",
WATER_SPORT = "WATER_SPORT", WATER_SPORT = "WATER_SPORT",
SPIKES = "SPIKES", SPIKES = "SPIKES",

View File

@ -844,8 +844,8 @@ export class Arena {
for (const tag of this.tags) { for (const tag of this.tags) {
// Skip tags of different types or on the wrong side of the field // Skip tags of different types or on the wrong side of the field
if ( if (
!tagTypes.includes(tag.tagType) || !tagTypes.includes(tag.tagType)
!(side === ArenaTagSide.BOTH || tag.side === ArenaTagSide.BOTH || tag.side === side) || !(side === ArenaTagSide.BOTH || tag.side === ArenaTagSide.BOTH || tag.side === side)
) { ) {
leftoverTags.push(tag); leftoverTags.push(tag);
continue; continue;