mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-15 10:19:39 +00:00
BlockLegacyIdHelper: fixed a mistake in exception message
This commit is contained in:
parent
35e8fd01ff
commit
764f92c456
@ -195,6 +195,6 @@ final class BlockLegacyIdHelper{
|
|||||||
case DyeColor::BLACK()->id():
|
case DyeColor::BLACK()->id():
|
||||||
return new BlockIdentifier(Ids::BLACK_GLAZED_TERRACOTTA);
|
return new BlockIdentifier(Ids::BLACK_GLAZED_TERRACOTTA);
|
||||||
}
|
}
|
||||||
throw new AssumptionFailedError("Switch should cover all wood types");
|
throw new AssumptionFailedError("Switch should cover all colours");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user