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
95c8aba4
Commit
95c8aba4
authored
Aug 05, 2024
by
Jonathan Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed entities from despawning after creating a character sheet.
parent
3cbbf26c
Pipeline
#12712
passed with stages
in 2 minutes 28 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
CHANGELOG.md
CHANGELOG.md
+3
-0
ServerPackets.java
src/main/java/com/owlmaddie/network/ServerPackets.java
+1
-0
No files found.
CHANGELOG.md
View file @
95c8aba4
...
...
@@ -15,6 +15,9 @@ All notable changes to **CreatureChat** are documented in this file. The format
-
Updated unit tests to add new LEAD tests
-
Updated README.md to include HTML inside spoiler instructions, and whitelist/blacklist commands
### Fixed
-
Entity persistence is now fixed (after creating a character sheet). No more despawning mobs.
## [1.0.8] - 2024-07-16
### Added
...
...
src/main/java/com/owlmaddie/network/ServerPackets.java
View file @
95c8aba4
...
...
@@ -315,6 +315,7 @@ public class ServerPackets {
LOGGER
.
debug
(
"Setting entity name to "
+
characterName
+
" for "
+
chatData
.
entityId
);
entity
.
setCustomName
(
Text
.
literal
(
characterName
));
entity
.
setCustomNameVisible
(
true
);
entity
.
setPersistent
();
}
PacketByteBuf
buffer
=
new
PacketByteBuf
(
Unpooled
.
buffer
());
...
...
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