Sets killerbunny-label in a translateable way

This commit is contained in:
Benjamin Schötz 2021-04-18 23:54:40 +02:00 committed by Elias Fleckenstein
parent 8cccbd7caa
commit a77f99a1ec
2 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ Pig=Schwein
Polar Bear=Eisbär
Rabbit=Kaninchen
Killer Bunny=Killerkaninchen
The Killer Bunny=Das Killerkaninchen
Sheep=Schaf
Shulker=Shulker
Silverfish=Silberfischchen

View File

@ -99,7 +99,7 @@ killer_bunny.on_rightclick = nil
killer_bunny.run_velocity = 6
killer_bunny.do_custom = function(self)
if not self._killer_bunny_nametag_set then
self.nametag = "The Killer Bunny"
self.nametag = S("The Killer Bunny")
self._killer_bunny_nametag_set = true
end
end