mirror of
https://github.com/MinecraftForge/MinecraftForge
synced 2026-08-22 04:26:10 -04:00
dimesnion -> dimension typos (#5684)
This commit is contained in:
parent
34e6cf6f6a
commit
adb4a1953f
1 changed files with 2 additions and 2 deletions
|
|
@ -90,7 +90,7 @@ public class DimensionManager
|
|||
*/
|
||||
public static DimensionType registerDimension(ResourceLocation name, ModDimension type, PacketBuffer data)
|
||||
{
|
||||
Validate.notNull(name, "Can not register a dimesnion with null name");
|
||||
Validate.notNull(name, "Can not register a dimension with null name");
|
||||
Validate.isTrue(!REGISTRY.func_212607_c(name), "Dimension: " + name + " Already registered");
|
||||
Validate.notNull(type, "Can not register a null dimension type");
|
||||
|
||||
|
|
@ -179,7 +179,7 @@ public class DimensionManager
|
|||
|
||||
public static DimensionType registerDimensionInternal(int id, ResourceLocation name, ModDimension type, PacketBuffer data)
|
||||
{
|
||||
Validate.notNull(name, "Can not register a dimesnion with null name");
|
||||
Validate.notNull(name, "Can not register a dimension with null name");
|
||||
Validate.notNull(type, "Can not register a null dimension type");
|
||||
Validate.isTrue(!REGISTRY.func_212607_c(name), "Dimension: " + name + " Already registered");
|
||||
Validate.isTrue(REGISTRY.get(id) == null, "Dimension with id " + id + " already registered as name " + REGISTRY.getKey(REGISTRY.get(id)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue