mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
ItemIdentifier: remove dead TODO comment
This commit is contained in:
parent
948aa059c3
commit
77fe0a69ba
@ -33,9 +33,6 @@ class ItemIdentifier{
|
||||
public static function fromBlock(Block $block) : self{
|
||||
//negative item type IDs are treated as block IDs
|
||||
//TODO: maybe an ItemBlockIdentifier is in order?
|
||||
//TODO: this isn't vanilla-compliant, but it'll do for now - we only use the "legacy" item ID/meta for full type
|
||||
//indexing right now, because item type IDs aren't granular enough
|
||||
//this should be removed once that's addressed
|
||||
return new self(-$block->getTypeId());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user