mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Bump network/formspec versions for 5.13.0
This commit is contained in:
		@@ -130,6 +130,7 @@ core.protocol_versions = {
 | 
			
		||||
	["5.10.0"] = 46,
 | 
			
		||||
	["5.11.0"] = 47,
 | 
			
		||||
	["5.12.0"] = 48,
 | 
			
		||||
	["5.13.0"] = 49,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
setmetatable(core.protocol_versions, {__newindex = function()
 | 
			
		||||
 
 | 
			
		||||
@@ -2851,6 +2851,8 @@ Version History
 | 
			
		||||
* Formspec version 9 (5.12.0)
 | 
			
		||||
  * Add allow_close[]
 | 
			
		||||
  * label[]: Add "area label" variant
 | 
			
		||||
* Formspec version 10 (5.13.0)
 | 
			
		||||
  * model[]: Support floating-point frames
 | 
			
		||||
 | 
			
		||||
Elements
 | 
			
		||||
--------
 | 
			
		||||
 
 | 
			
		||||
@@ -65,10 +65,13 @@
 | 
			
		||||
	PROTOCOL VERSION 48
 | 
			
		||||
		Add compression to some existing packets
 | 
			
		||||
		[scheduled bump for 5.12.0]
 | 
			
		||||
	PROTOCOL VERSION 49
 | 
			
		||||
		Support of showing a player inventory using 'core.show_formspec'
 | 
			
		||||
		[scheduled bump for 5.13.0]
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
// Note: Also update core.protocol_versions in builtin when bumping
 | 
			
		||||
const u16 LATEST_PROTOCOL_VERSION = 48;
 | 
			
		||||
const u16 LATEST_PROTOCOL_VERSION = 49;
 | 
			
		||||
 | 
			
		||||
// See also formspec [Version History] in doc/lua_api.md
 | 
			
		||||
const u16 FORMSPEC_API_VERSION = 9;
 | 
			
		||||
const u16 FORMSPEC_API_VERSION = 10;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user