mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-27 20:53:01 +00:00
Revert "Enable zooming by default"
This reverts commit 7bbb105488
.
Reason: Zooming is actually not possible in Minecraft.
This commit is contained in:
parent
7bbb105488
commit
8fcbda3765
6 changed files with 0 additions and 29 deletions
|
@ -1,6 +0,0 @@
|
|||
Allows zooming by default for all players.
|
||||
This is done by granting the zoom privilege when a player joins.
|
||||
|
||||
Works for Minetest 0.4.16.
|
||||
|
||||
License: WTFPL
|
|
@ -1 +0,0 @@
|
|||
Allows zooming by default for all players.
|
|
@ -1,12 +0,0 @@
|
|||
minetest.register_on_joinplayer(function(player)
|
||||
local priv = minetest.setting_getbool("allow_zoom")
|
||||
if priv == nil then
|
||||
priv = true
|
||||
end
|
||||
if priv then
|
||||
local name = player:get_player_name()
|
||||
local privs = minetest.get_player_privs(name)
|
||||
privs.zoom = true
|
||||
minetest.set_player_privs(name, privs)
|
||||
end
|
||||
end)
|
|
@ -1 +0,0 @@
|
|||
name = allow_zoom
|
|
@ -1,4 +0,0 @@
|
|||
# This allows zooming by default for all players.
|
||||
# More specifically, players get the zoom privilege automatically granted on
|
||||
# when they join.
|
||||
allow_zoom (Allow zooming) bool true
|
|
@ -44,11 +44,6 @@ enable_bed_respawn (Respawn at bed) bool true
|
|||
# This setting is only read at startup.
|
||||
enable_bed_night_skip (Skip night when sleeping) bool true
|
||||
|
||||
# This allows zooming by default for all players.
|
||||
# More specifically, players get the zoom privilege automatically granted on
|
||||
# when they join.
|
||||
allow_zoom (Allow zooming) bool true
|
||||
|
||||
# If enabled, the recipe book will only show recipes which require one
|
||||
# item which the player has currently in possession.
|
||||
# If disabled, the recipe book shows all crafting recipes.
|
||||
|
|
Loading…
Reference in a new issue