Luohuayu / CatServer

高性能和高兼容性的1.12.2/1.16.5/1.18.2版本Forge+Bukkit+Spigot服务端 (A high performance and high compatibility 1.12.2/1.16.5/1.18.2 version Forge+Bukkit+Spigot server)
https://catmc.org
GNU Lesser General Public License v3.0
1.98k stars 211 forks source link

CraftMapView getId always return 0 #226

Closed IM-IgniteDEV closed 4 years ago

IM-IgniteDEV commented 4 years ago

Hi i found a critical bug in catserver.

When i create map via Bukkit.createMap(world): it always return 0 as id

spigot:

image

catserver:

image

This is getId method from CraftMapView

image

Luohuayu commented 4 years ago

Fixed