[whitelist] Update to Git patch 9a254b5:
https://github.com/AntumMT/mod-whitelist/tree/9a254b5
This commit is contained in:
parent
118e06c5ee
commit
67414a5ea2
@ -578,6 +578,6 @@ The game includes the mods from the default [minetest_game](https://github.com/m
|
||||
[patch.trash_can]: https://github.com/AntumMT/mod-trash_can/tree/5a92bf4
|
||||
[patch.unifieddyes]: https://github.com/AntumMT/mod-unifieddyes/tree/9c2f740
|
||||
[patch.walking_light]: https://github.com/AntumMT/mod-walking_light/tree/e602515
|
||||
[patch.whitelist]: https://github.com/AntumMT/mod-whitelist/tree/13e8686
|
||||
[patch.whitelist]: https://github.com/AntumMT/mod-whitelist/tree/9a254b5
|
||||
[patch.windmill]: https://github.com/AntumMT/mod-windmill/tree/7756ab4
|
||||
[patch.workbench]: https://github.com/AntumMT/mod-workbench/tree/b964323
|
||||
|
@ -33,10 +33,9 @@ local function save_whitelist()
|
||||
file:close()
|
||||
end
|
||||
|
||||
load_whitelist()
|
||||
|
||||
if enabled then
|
||||
minetest.register_on_prejoinplayer(function(name, ip)
|
||||
load_whitelist()
|
||||
if name == "singleplayer" or name == admin or whitelist[name] then
|
||||
return
|
||||
end
|
||||
|
@ -1,3 +1,4 @@
|
||||
name = whitelist
|
||||
author = ShadowNinja
|
||||
license = CC0
|
||||
version = 0.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user