Fix broken localisations for spell chat readouts

This commit is contained in:
Electroblob
2018-02-21 10:51:31 +00:00
parent 15fb75a7c3
commit e0001b5d37
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("spell.transportation.missing"));
caster.sendMessage(new TextComponentTranslation(this.getUnlocalisedName() + ".missing"));
}
}else{
if(!world.isRemote)
caster.sendMessage(new TextComponentTranslation("spell.transportation.undefined"));
caster.sendMessage(new TextComponentTranslation(this.getUnlocalisedName() + ".undefined"));
}
}else{
if(!world.isRemote)
caster.sendMessage(new TextComponentTranslation("spell.transportation.wrongdimension"));
caster.sendMessage(new TextComponentTranslation(this.getUnlocalisedName() + ".wrongdimension"));
}
}
return false;