Skip to content

Commit

Permalink
make 1.16 voxelmap happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Jan 20, 2021
1 parent 25d0942 commit d7eb3e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion LocationMarker.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

PLUGIN_METADATA = {
'id': 'location_marker',
'version': '1.1.1',
'version': '1.1.2',
'name': 'Location Marker',
'description': 'A server side waypoint manager',
'author': 'Fallen_Breath',
Expand Down Expand Up @@ -315,6 +315,7 @@ def show_location_detail(source: CommandSource, name):
source.reply(RTextList('详情: ', RText(loc.description if loc.description is not None else '无', color=RColor.gray)))
x, y, z = map(round, loc.position)
source.reply('VoxelMap路标: [name:{}, x:{}, y:{}, z:{}, dim:{}]'.format(loc.name, x, y, z, loc.dimension))
source.reply('VoxelMap路标(1.16+): [name:{}, x:{}, y:{}, z:{}, dim:{}]'.format(loc.name, x, y, z, get_dim_key(loc.dimension)))
else:
source.reply('未找到路标§b{}§r'.format(name))

Expand Down

0 comments on commit d7eb3e9

Please sign in to comment.