NotEnoughItems Unofficial 1.7.10

NotEnoughItems Unofficial 1.7.10

436k Downloads

Specific handler text not centered

Prometheus0000 opened this issue ยท 7 comments

commented

image

beta5

commented
	@Override
	public String getRecipeName() {
		return "          " + StatCollector.translateToLocal("tile.bloodAltar.name");
	}        

Y U do this, BM?

Is there a way to shift this for people not using our custom build of BM? It's not a huge issue, so we could just give up on it?

commented

This name is custom. Not sure if we changed it in BM or in a script.

commented

That's literally the code I posted.

commented

I see what you mean now, but the code is adding a giant space, regardless of the name.

commented
// --- Nei Rename ---



// --- Blood Altar
<AWWayofTime:Altar>.displayName = "Altar of GregoriusT's Blood";

From the script file

commented

Calling .trim() here would solve this and all issues like this.

commented

This indeed fixes it, and the chem plant one.