Fixed a new nil object bug
parent
243b5358e0
commit
a0b6abf4d7
|
@ -1,3 +1,8 @@
|
|||
2019-03-11 Solebull <solebull42@gmail.com>
|
||||
|
||||
* mods/creative/init.lua (register_on_placenode) : add a nil test
|
||||
because of a server crash when creating a crafting guide.
|
||||
|
||||
2019-02-26 Solebull <solebull42@gmail.com>
|
||||
|
||||
* mods/death_messages/init.lua (register_on_dieplayer): add y*
|
||||
|
|
19
ROADMAP
19
ROADMAP
|
@ -132,7 +132,7 @@ It's really fast. May be used on a website, to show the actual map.
|
|||
- [ ] Give a look at https://content.minetest.net/packages/rubenwardy/ctf_pvp_engine/
|
||||
- [ ] Maybe this chat filter https://content.minetest.net/packages/sofar/filter/
|
||||
- [ ] Mayber a cannon mod ? https://content.minetest.net/packages/addi/cannons/
|
||||
|
||||
- [ ] prevent all caps : https://content.minetest.net/packages/ANAND/caps_alert/
|
||||
**** TODO [feature_AwardsFactionsLink] Could link awards with factions power
|
||||
*We could link each achievement to the player's faction's power*
|
||||
*Power can be seen as reputation*
|
||||
|
@ -196,6 +196,9 @@ It's really fast. May be used on a website, to show the actual map.
|
|||
- [X] Explain local changes
|
||||
- [X] Remove welcome message mod
|
||||
- [X] We should be able to create a hoe fom the right
|
||||
- [ ] Deactivate allies dammage
|
||||
- [ ] The bed spawn doesn't work
|
||||
- [ ] Other players can't take my loot when dead
|
||||
- [ ] There is a shadow issue in the caves. Too much light
|
||||
There was a mod for this in *random content*
|
||||
- [ ] Faction chest must be for faction only (no parcel needed)
|
||||
|
@ -232,10 +235,16 @@ It's really fast. May be used on a website, to show the actual map.
|
|||
- [ ] Rebuild minetest with master
|
||||
- Don't forget to issue a *git pull* before
|
||||
- [ ] May also test with the stable-0.4 branch
|
||||
**** *Next stream test*
|
||||
- [ ] New texture pack Pixel Perfection
|
||||
- [ ] Replaced welcome_popup with server_news
|
||||
- [ ] Now hoe can be created from right
|
||||
**** Next stream test
|
||||
- [X] New texture pack Pixel Perfection
|
||||
- [X] Replaced welcome_popup with server_news
|
||||
- [X] Now hoe can be created from right
|
||||
- [X] New server craft : FIXED
|
||||
2019-03-10 19:24:41: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback luaentity_Step(): Runtime error from mod '' in callback item_OnPlace(): ...nbru/.minetest/games/minetest-pvp/mods/creative/init.lua:43: attempt to index local 'placer' (a n
|
||||
2019-03-10 19:24:41: ERROR[Main]: il value)
|
||||
2019-03-10 19:24:41: ERROR[Main]: stack traceback:
|
||||
2019-03-10 19:24:41: ERROR[Main]: /mods/creative/init.lua:43: in function 'callback'
|
||||
|
||||
**** DONE Improve minetestmapper
|
||||
*Should show factions*
|
||||
- [X] Clone this project and create a gitlab project as minetestmapper-factions
|
||||
|
|
3
TODO
3
TODO
|
@ -11,7 +11,8 @@ minetest-solebull - LGPL-2.1 - A PVP/faction game for minetest based on Cobalt.
|
|||
|
||||
|
||||
* v0.0.2-5 (02 Jan. 2019 - ???) CLOC ???,???
|
||||
- (7) Hoes can be crafted from the right
|
||||
- (8) Fixed a new nil object bug
|
||||
- Hoes can be crafted from the right
|
||||
- Replace welcome_popup mod with server_news
|
||||
- Better death message for singleplayer
|
||||
- Fixed a heavy trade issue when item_stock is nil
|
||||
|
|
|
@ -40,7 +40,11 @@ end
|
|||
|
||||
-- Unlimited node placement
|
||||
minetest.register_on_placenode(function(pos, newnode, placer, oldnode, itemstack)
|
||||
return creative.is_enabled_for(placer:get_player_name())
|
||||
if placer == nil then
|
||||
return creative_mode_cache
|
||||
else
|
||||
return creative.is_enabled_for(placer:get_player_name())
|
||||
end
|
||||
end)
|
||||
|
||||
-- Don't pick up if the item is already in the inventory
|
||||
|
|
Loading…
Reference in New Issue