1
0
Commit Graph

8609 Commits

Author SHA1 Message Date
Woazboat
f7d88ff4e0 Added extra braces to initialization of Tracer::m_NormalTable 2015-04-29 02:21:37 +02:00
Woazboat
723aca2bfa And another cs fix I overlooked 2015-04-29 01:39:08 +02:00
Woazboat
ca5b3e5776 Fixed comments according to cs 2015-04-29 01:37:16 +02:00
Woazboat
2359fc6705 Fix HasNonZeroLength name
now 100% more cs compliant
2015-04-29 00:27:15 +02:00
Woazboat
3d1bd544b0 Changed Tracer::m_NormalTable to static array
Was previously instantiated for every trace
2015-04-29 00:14:42 +02:00
Mattes D
491b75a8a4 Merge pull request #1913 from wiseoldman95/fixCompatibleProtocols
Updated MC versions in ProtocolRecognizer.h
2015-04-28 08:43:39 +02:00
wiseoldman95
231ba3af53 Updated MC versions in ProtocolRecognizer.h 2015-04-28 09:16:09 +03:00
Mattes D
3fac9beb64 Updated MC versions in readme.txt 2015-04-28 07:57:46 +02:00
Woazboat
2f264dba71 Changed Vector3 Equals function to avoid using memcmp 2015-04-28 02:54:45 +02:00
Woazboat
496e5b1000 Tracer signum function now returns int 2015-04-28 02:51:21 +02:00
Woazboat
797e3130d2 Check for zero length vector in Trace
Added hasNonZeroLength member function to Vector3
2015-04-28 02:47:36 +02:00
Woazboat
4e8b4981d8 convert c style casts to c++ static casts 2015-04-28 02:26:25 +02:00
worktycho
facb6e7416 Merge pull request #1909 from Woazboat/CodeCleanup
cSetChunkData constructor explicitly requires std::move()
2015-04-27 21:11:56 +01:00
Woazboat
e240cab523 Removed redundant temp iterator. std::list.erase already returns
iterator to next valid list element
2015-04-27 21:54:36 +02:00
Woazboat
6caf08da99 cSetChunkData constructor explicitly requires std::move() instead of
unsafely stealing data
2015-04-27 21:18:56 +02:00
Tiger Wang
b10336ad64 Fix explosions trying to write to unread blockarea 2015-04-26 19:17:08 +01:00
worktycho
27413bcec3 Update contributing.md with C++11 2015-04-26 13:27:05 +01:00
Mattes D
d16ded3aff Updated the Core. 2015-04-25 22:33:07 +02:00
Mattes D
0de768b56d Merge pull request #1897 from mc-server/Restrictions
Restrictions
2015-04-25 22:32:13 +02:00
Mattes D
b5998873e4 cPlayer now checks restrictions.
Fixes #1331.
2015-04-25 21:05:43 +02:00
Mattes D
9c5797f27d Added player restrictions to the DB and API. 2015-04-25 21:05:35 +02:00
Mattes D
80baa2b056 Merge pull request #1896 from mc-server/FindAndDoWithPlayerRace
Eliminate race condition in cRoot::FindAndDoWithPlayer
2015-04-25 18:58:11 +02:00
Mattes D
b7d1d701b9 Plugin removes its command registrations and webtabs when unloaded.
Fixes #1890.
2015-04-25 18:11:14 +02:00
worktycho
20593dcb35 Eliminate race condition in cRoot::FindAndDoWithPlayer
Avoid a race condition where a player gets deleted during the FindAndDoWithPlayer callback by moving the callback into DoWithPlayer.
2015-04-24 12:45:44 +01:00
Mattes D
0bfcd62556 Merge pull request #1894 from mc-server/RefactorManualBindingsTemplates
Refactored ManualBindings' callbacks using templates.
2015-04-23 22:52:34 +02:00
Mattes D
a89d5f53fd Refactored ManualBindings' callbacks using templates.
This is a bit easier to read, has better error reporting and fixes a few subtle bugs.
Fixes #1889.
2015-04-23 22:20:31 +02:00
jammet
e42beb51ab Digging up a clay block spawns 4 clay items.
Fixes #1884.
Closes #1891.
2015-04-23 21:39:10 +02:00
Mattes D
a41f21f76f Merge pull request #1892 from mc-server/DoWithPlugin
Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().
2015-04-23 21:36:17 +02:00
Mattes D
08624348f4 Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().
Both functions are exported as static.
2015-04-23 19:41:01 +02:00
jammet
6f0eafdc3a Nether Quartz is handled in the Ore handler.
Fixes #1885, Closes #1888
2015-04-23 15:21:14 +02:00
Mattes D
e51bd6bcd8 Merge pull request #1851 from wraith11/DoorFix
Fix door placing in connection with slabs
2015-04-23 00:55:51 +02:00
Mattes D
5f0a78200b Merge pull request #1852 from wraith11/SlabPlacing
Fix slab placing
2015-04-23 00:54:59 +02:00
wraith11
85c37dd3a0 Fix slab placing 2015-04-22 23:01:21 +02:00
Mattes D
6d99a0b968 Merge pull request #1883 from mc-server/NarrowWindowID
Narrowed WindowID to use only 7 bits.
2015-04-22 07:52:30 +02:00
Mattes D
e08e932e7a Narrowed WindowID to use only 7 bits.
Ref.: http://forum.mc-server.org/showthread.php?tid=1876
2015-04-21 23:29:50 +02:00
Mattes D
18690a2633 Hotfixed some chunk presence issues when generating. 2015-04-21 23:12:47 +02:00
Mattes D
0ff7514351 Merge pull request #1879 from mc-server/DynamicThreshold
Changed Nether composition to change the threshold from a cubic noise
2015-04-21 23:09:27 +02:00
wraith11
794013315b Fix door placing in connection with slabs
Except top-half slabs as transparent blocks for doors.
2015-04-21 20:47:02 +02:00
STRWarrior
c5189aaf9c Changed default MaxThreshold value
There is now really a difference between open and dense parts
2015-04-21 16:30:18 +02:00
STRWarrior
cc67a8bde9 Calculate threshold for each column in a chunk instead for the whole chunk 2015-04-21 16:01:27 +02:00
Mattes D
7ef9dea015 Network: fixed excessive debug logging. 2015-04-21 12:11:44 +02:00
Mattes D
50323b3760 Merge pull request #1881 from mc-server/UrlInHttpRequest
Added URL member to the HTTPRequest API class.
2015-04-21 12:01:39 +02:00
Mattes D
de27f66b59 Added URL member to the HTTPRequest API class. 2015-04-21 10:54:43 +02:00
STRWarrior
3b74107bf3 Changed Nether composition to change the threshold from a cubic noise 2015-04-20 18:03:25 +02:00
Mattes D
be4ac22b52 WebAdmin: Removed server name, shortened memory report. 2015-04-20 09:41:27 +02:00
Mattes D
db7b3bc888 Fixed a bad recipe. 2015-04-20 09:32:43 +02:00
Mattes D
b97f41b8c6 ItemHandler type fixes. 2015-04-20 09:17:26 +02:00
Mattes D
16c03be348 Merge pull request #1878 from jammet/patch-2
Fixing dyeing
2015-04-20 08:37:44 +02:00
Mattes D
c0bd482448 Protocol 1.8: Limit the amount of displayed data on NBT parse failure. 2015-04-20 08:35:32 +02:00
Mattes D
c9fbcea66d ItemHandler: Using automatic array bounds. 2015-04-20 08:34:44 +02:00