forked from Upstream/mmocore
Removed unused method
This commit is contained in:
parent
68f77205dd
commit
8cf6f057d2
@ -64,10 +64,6 @@ public class CustomBlockManager extends MMOManager {
|
|||||||
map.put(regen.getBlock().generateKey(), regen);
|
map.put(regen.getBlock().generateKey(), regen);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isBlockRegistered(Block block) {
|
|
||||||
return map.containsKey(findBlockType(block).generateKey());
|
|
||||||
}
|
|
||||||
|
|
||||||
public BlockInfo getInfo(Block block) {
|
public BlockInfo getInfo(Block block) {
|
||||||
return map.getOrDefault(findBlockType(block).generateKey(), null);
|
return map.getOrDefault(findBlockType(block).generateKey(), null);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user