mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-15 10:21:45 -04:00
Fixes Mystcraft integration looking for wrong name tag
This commit is contained in:
parent
55dd320b2a
commit
be45ceda34
@ -16,8 +16,8 @@ public class ConverterAgebook implements Converter {
|
||||
final NBTTagCompound tag = stack.getTagCompound();
|
||||
if (tag.hasKey("Dimension"))
|
||||
output.put("dimensionId", tag.getInteger("Dimension"));
|
||||
if (tag.hasKey("agename"))
|
||||
output.put("dimensionName", tag.getString("agename"));
|
||||
if (tag.hasKey("DisplayName"))
|
||||
output.put("dimensionName", tag.getString("DisplayName"));
|
||||
|
||||
if (tag.hasKey("Flags")) {
|
||||
final HashMap<String, Boolean> flags = new HashMap<String, Boolean>();
|
||||
|
@ -16,8 +16,8 @@ public class ConverterLinkbook implements Converter {
|
||||
final NBTTagCompound tag = stack.getTagCompound();
|
||||
if (tag.hasKey("Dimension"))
|
||||
output.put("dimensionId", tag.getInteger("Dimension"));
|
||||
if (tag.hasKey("agename"))
|
||||
output.put("dimensionName", tag.getString("agename"));
|
||||
if (tag.hasKey("DisplayName"))
|
||||
output.put("dimensionName", tag.getString("DisplayName"));
|
||||
|
||||
if (tag.hasKey("SpawnX") && tag.hasKey("SpawnY") && tag.hasKey("SpawnZ")) {
|
||||
output.put("spawnId", Hashing.murmur3_32().newHasher().
|
||||
|
Loading…
x
Reference in New Issue
Block a user