mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-18 19:39:35 +00:00
Add proper examples to readme.
and it's done!
This commit is contained in:
1 parent
2b56022599
commit
99f6158e46
3 files changed
+459
-62
No files matched your search
@@ -269,7 +269,7 @@ public abstract class BlockReplacementManager {
|
||||
* @param block The block to remap to.
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public static void replaceMissingBlockWithNewBlock(String originalId, Block block) {
|
||||
public static void replaceMissingMapping(String originalId, Block block) {
|
||||
if (originalId == null) throw new IllegalArgumentException("original id is null");
|
||||
if (block == null) throw new IllegalArgumentException("block is null");
|
||||
MissingMappingHandler.addBlockMapping(originalId, block);
|
||||
|
||||
Reference in new issue
Block a user