Actually fix spell chat readout localisations

This commit is contained in:
Electroblob
2018-02-22 12:21:05 +00:00
parent e0001b5d37
commit 5715928dbd
3 changed files with 10 additions and 10 deletions
@@ -46,15 +46,15 @@ public class Transportation extends Spell {
return true;
}else{
if(!world.isRemote)
caster.sendMessage(new TextComponentTranslation(this.getUnlocalisedName() + ".missing"));
caster.sendMessage(new TextComponentTranslation("spell." + this.getUnlocalisedName() + ".missing"));
}
}else{
if(!world.isRemote)
caster.sendMessage(new TextComponentTranslation(this.getUnlocalisedName() + ".undefined"));
caster.sendMessage(new TextComponentTranslation("spell." + this.getUnlocalisedName() + ".undefined"));
}
}else{
if(!world.isRemote)
caster.sendMessage(new TextComponentTranslation(this.getUnlocalisedName() + ".wrongdimension"));
caster.sendMessage(new TextComponentTranslation("spell." + this.getUnlocalisedName() + ".wrongdimension"));
}
}
return false;