Added logging for skull skin textures on Paper servers

This commit is contained in:
Intelli 2024-07-23 20:09:05 -06:00
parent a93bf2f047
commit 06208a69b0
3 changed files with 10 additions and 4 deletions

View file

@ -18,7 +18,7 @@ class SkullUpdateProcess {
*/
if (object instanceof BlockState) {
BlockState block = (BlockState) object;
String query = "SELECT owner FROM " + ConfigHandler.prefix + "skull WHERE rowid='" + rowId + "' LIMIT 0, 1";
String query = "SELECT owner, skin FROM " + ConfigHandler.prefix + "skull WHERE rowid='" + rowId + "' LIMIT 0, 1";
SkullStatement.getData(statement, block, query);
Util.updateBlock(block);
}