Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
CreatureChat
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Public
CreatureChat
Commits
a6c71ed6
Commit
a6c71ed6
authored
Dec 31, 2024
by
Jonathan Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent crash due to missing texture when max friend/enemy + right click on entity
parent
7060873e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG.md
CHANGELOG.md
+1
-0
BubbleRenderer.java
src/client/java/com/owlmaddie/ui/BubbleRenderer.java
+2
-2
No files found.
CHANGELOG.md
View file @
a6c71ed6
...
...
@@ -12,6 +12,7 @@ All notable changes to **CreatureChat** are documented in this file. The format
### Fixed
-
Fixed a bug which broadcasts death messages for any mob with a customName (now it must also have a character sheet)
-
Prevent crash due to missing texture when max friend/enemy + right click on entity
## [1.2.0] - 2024-12-28
...
...
src/client/java/com/owlmaddie/ui/BubbleRenderer.java
View file @
a6c71ed6
...
...
@@ -70,9 +70,9 @@ public class BubbleRenderer {
// Draw UI text background (based on friendship)
// Draw TOP
if
(
friendship
==
-
3
)
{
if
(
friendship
==
-
3
&&
!
base_name
.
endsWith
(
"-player"
)
)
{
RenderSystem
.
setShaderTexture
(
0
,
textures
.
GetUI
(
base_name
+
"-enemy"
));
}
else
if
(
friendship
==
3
)
{
}
else
if
(
friendship
==
3
&&
!
base_name
.
endsWith
(
"-player"
)
)
{
RenderSystem
.
setShaderTexture
(
0
,
textures
.
GetUI
(
base_name
+
"-friend"
));
}
else
{
RenderSystem
.
setShaderTexture
(
0
,
textures
.
GetUI
(
base_name
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment