luanti-org/luanti

override.txt doesn't work in "server" texture pack

開放

#10,773 建立於 2021年1月3日

 (6 則留言) (0 個反應) (0 位負責人)C++ (2,395 個分叉)auto 404
@ Client / AudiovisualsBugTexturesgood first issue

倉庫指標

星標
 (13,341 顆星)
PR 合併指標
 (平均合併 13天 22小時) (30 天內合併 48 個 PR)

描述

Minetest version
5.3.0 and 5.4.0-dev-af22dd86e
OS / Hardware

Operating system: Windows 10 64-bit CPU: Intel Core 2 Duo

Summary

The override.txt file doesn't work when it's in the "server" texture pack, even when the same file works when used in a client texture pack.

This error is output to the log when trying to use it:

2021-01-03 17:12:29: INFO[Main]: Server: ignoring unsupported file extension: "override.txt"
Steps to reproduce
  1. Create a "server" folder in the textures folder.
  2. Create a override.txt inside that folder with the following contents:
default:dirt_with_grass top default_stone.png
  1. Load into a world, and the textures for default:dirt_with_grass will not have changed.
  2. Quit, and then enable the "server" texture pack in the content tab.
  3. Load into a world again, and default:dirt_with_grass will now have the stone texture on top.

貢獻者指南