convert more constant interfaces to final classes, close #2885

This commit is contained in:
Dylan K. Taylor
2019-08-24 15:39:23 +01:00
parent ef8eba43d7
commit 75a2d79671
9 changed files with 45 additions and 9 deletions

View File

@ -26,7 +26,11 @@ namespace pocketmine\block;
/**
* Constants for legacy metadata for various blocks.
*/
interface BlockLegacyMetadata{
final class BlockLegacyMetadata{
private function __construct(){
//NOOP
}
public const ANVIL_NORMAL = 0;
public const ANVIL_SLIGHTLY_DAMAGED = 4;