mirror of
https://github.com/GTNewHorizons/ThaumicHorizons.git
synced 2026-10-25 20:32:28 +00:00
Co-authored-by: GitHub GTNH Actions <>
This commit is contained in:
1 parent
76b1746192
commit
646b2bb62f
1 file changed
+4
-2
@@ -249,8 +249,10 @@ public class EntityGolemTH extends EntityGolemBase {
|
|||||||
switch (this.voidCount) {
|
switch (this.voidCount) {
|
||||||
case 0, 1, 2 -> {
|
case 0, 1, 2 -> {
|
||||||
if (player != null) {
|
if (player != null) {
|
||||||
final ChatComponentTranslation message = new ChatComponentTranslation("thaumichorizons.golemWarning" + this.voidCount);
|
final ChatComponentTranslation message = new ChatComponentTranslation(
|
||||||
message.setChatStyle(new ChatStyle().setColor(EnumChatFormatting.DARK_PURPLE).setItalic(true));
|
"thaumichorizons.golemWarning" + this.voidCount);
|
||||||
|
message.setChatStyle(
|
||||||
|
new ChatStyle().setColor(EnumChatFormatting.DARK_PURPLE).setItalic(true));
|
||||||
player.addChatMessage(message);
|
player.addChatMessage(message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user