1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-21 20:25:54 +00:00
Commit Graph

25 Commits

Author SHA1 Message Date
TheBusyBiscuit
2812b84ea8 Minor Code Optimizations 2019-06-20 10:12:34 +02:00
Bas Verhoeven
0d45fee741 Do not overwrite block for a location that already has a valid block
This shouldn't happen, but if it does happen it'll definitely break the block.
We'll notify the server administrator on load and only keep the first block we
see.

Note that this will only happen if there's something seriously wrong with the
block as generally there'll not be a situation where information is stored in
two different files.
2019-04-07 03:02:09 +02:00
Bas Verhoeven
1d7c1e68c8 Do not load incomplete blocks (missing "id")
If incomplete blocks are loaded, without an "id", items will not have
any usable slimefun block information and will not be usable. Breaking
these blocks will give you a "CSCoreLib's Head".
2019-04-07 03:01:53 +02:00
SoSeDiK
4a4934de68 Prevent "Asynchronous entity add!" 2019-03-30 12:15:56 +02:00
TheBusyBiscuit
b7385d1fc1
Merge pull request #751 from creator3/master
Hopefully reduce input node breakage
2018-08-06 21:17:46 +02:00
creator3
338621670b Hopefully reduce input node breakage 2018-07-31 15:55:18 -04:00
DrOreo002
9d3ca22b1f Some code cleanup and fix grappling hook dupe 2018-07-15 13:02:45 +07:00
creator3
ae3ba64f54 Parse block info at startup 2018-06-15 19:23:51 -04:00
SoSeDiK
3cf306ce34 Replaced deprecated methods 2018-06-06 12:41:56 +03:00
Oliver Wright
eaa93df83e
Move Block storage to be based on Locations. 2018-03-10 19:22:12 +00:00
Redemption
17cc989012
Documented #retrieve()
Credits: @Poslovitch
2018-01-06 16:13:16 +01:00
Meta-Win
aeaa912bf2
Add files via upload 2017-12-20 00:43:51 -02:00
TheBusyBiscuit
fe4ec68a35
Merge pull request #502 from Poslovitch/slimefunitem-improvements
SlimefunItem : renames of some methods, made ghost configurable, changed "name" to "id" and privatized all fields
2017-11-26 09:50:41 +01:00
Florian CUNY
cc79e62f34 Made use of the renamed methods 2017-10-13 16:34:38 +02:00
David Kirchner
393b4835d9 Fix ConcurrentModificationException that occurred when reactor explodes.
CraftBukket's HumanEntity.closeInventory() apparently removes the human
from the inventory's viewer list, resulting in an exception when we were
calling closeInventory while iterating over the list of said viewers.

Fixes TheBusyBiscuit/Slimefun4#364.
2017-10-08 19:46:42 -07:00
TheBusyBiscuit
4b44c347fe Removed deprecated code snippet 2017-04-09 09:44:37 +02:00
mrCookieSlime
ee88262243 Fixed JSON Parsing 2016-12-27 12:44:23 +01:00
mrCookieSlime
ef32a361ab Local JSONParser Object 2016-12-26 23:57:56 +01:00
mrCookieSlime
e306232933 Fixed JSON Parsing 2016-12-26 23:56:22 +01:00
mrCookieSlime
a3f118ca21 Escape Chunk JSONs 2016-12-26 23:38:18 +01:00
mrCookieSlime
c95c8c9ae0 Fixed JSON Escaping? 2016-12-26 23:36:19 +01:00
mrCookieSlime
169539de56 Immense AutoSaving Optimizations 2016-09-17 10:06:21 +02:00
mrCookieSlime
2f1475a5ba Block Inventories now close when the Block is broken 2016-05-22 10:26:12 +02:00
mrCookieSlime
356dd4b704 Took care of Inventory Corruption 2016-05-15 13:40:28 +02:00
mrCookieSlime
686004304c Slimefun 4 2016-04-14 18:24:03 +02:00