Commit Graph

9589 Commits

Author SHA1 Message Date
5a989d82bb Generator: remove useless function getName() 2019-04-04 16:43:04 +01:00
e6a1f0eb8d Command: remove duplicated code 2019-04-03 18:06:22 +01:00
0e3e984db9 Player: Disconnects no longer nuke player internals, (mostly) fixes #1239
there are some problems that haven't been accounted for yet, but this fixes all the direct crashes.
2019-04-03 17:44:34 +01:00
a0b8d9a64e Merge branch '3.7' 2019-04-03 17:39:45 +01:00
2c678dcf0d Player: Fixed memory leak when PlayerLoginEvent is cancelled 2019-04-03 17:37:15 +01:00
f901c2a612 Player: move some functions to a more sensible place
let's keep disconnect-related logic grouped together.
2019-04-02 19:57:10 +01:00
f332550e52 Player: move toggle* rollback handling to network session
this allows network sessions to react to it how they want, or (in the case of things like Specter) perhaps ignore it.
2019-04-02 19:49:53 +01:00
80a6fc5dd1 BlockFactory: remove deprecated functions 2019-04-02 19:15:29 +01:00
b6e453a5f4 LegacyAnvilChunkTrait: remove obsolete TODO 2019-04-02 19:13:41 +01:00
7d22b2a6d7 Player: removed useless addActionBarMessage()
this is exactly the same as sendTip().
2019-04-02 18:43:14 +01:00
e5756dbf0b Move a whole bunch of packet crap to NetworkSession 2019-04-02 18:31:16 +01:00
2c4f2810d2 AsyncTask: Remove misleading methods getFromThreadStore(),saveToThreadStore(),removeFromThreadStore()
These methods are commonly mixed up when we talk about thread-local storage. What these things actually do is store persistent data on the worker thread.
2019-04-02 14:57:11 +01:00
6214a9398d Player: remove sendWhisper()
this can be done with a standard translated message, and with more customizability.
2019-03-31 19:25:09 +01:00
f0b85936cf Improved /tell 2019-03-31 19:08:35 +01:00
c59a2d1b93 More hasFiniteResources() usages 2019-03-31 16:51:43 +01:00
f8ce7797db Player: add hasFiniteResources() 2019-03-31 16:40:54 +01:00
42a263a9df GameMode is now an enum 2019-03-31 16:19:36 +01:00
0017c0087a oopsie woopsie 2019-03-31 16:17:01 +01:00
8c19f6cac8 EnumTrait: throw InvalidArgumentException from fromString()
this is more in line with expected behaviour, since this might be used to process arbitrary user input. Only calling an undefined magic static method should throw an Error.
2019-03-31 16:07:42 +01:00
cdeb3ea5a6 Sync NBT dependency 2019-03-30 19:53:24 +00:00
aff2e0c86c Merge branch '3.7' 2019-03-30 19:19:02 +00:00
7bd9a2b2e0 3.7.2 is next 2019-03-30 19:15:17 +00:00
004e81ea35 XpLevelUpSound: fixed crash on non-multiples of 5 2019-03-30 18:44:30 +00:00
3ea5260935 Sync composer dependencies 2019-03-30 18:28:42 +00:00
5c26deb517 Release 3.7.1 3.7.1 2019-03-29 19:56:06 +00:00
8fcb44de7d Merge branch '3.6' into 3.7 2019-03-29 19:55:36 +00:00
bd2e7db3b9 Release 3.6.6 3.6.6 2019-03-29 19:49:30 +00:00
f4480c07ee Updated NBT dependency 2019-03-29 19:47:15 +00:00
1fd4077907 MainLogger: Always use CRITICAL for logException() 2019-03-29 15:28:11 +00:00
f638845ef6 Merge branch '3.7' 2019-03-29 15:16:27 +00:00
c09e2301c8 Merge branch '3.6' into 3.7 2019-03-29 14:35:35 +00:00
8e9f787d33 Implement runtimeID table randomization, closes #2841 2019-03-29 14:35:06 +00:00
260fa50db4 Register Edu compound items 2019-03-28 14:23:42 +00:00
de193d41a0 Server: fixed console not receiving user broadcast channel messages
I'm not entirely clear how this managed to work to begin with really, but it's now fixed properly.
2019-03-27 23:53:39 +00:00
649ce5080b StatusCommand: don't use config for reading global limit 2019-03-27 19:24:06 +00:00
0e806854b9 Server: clean up startup order a little 2019-03-27 19:16:39 +00:00
3de08bf452 Convert PluginLoadOrder into enum 2019-03-27 18:28:40 +00:00
2091354927 UUID: add type docs 2019-03-27 15:39:41 +00:00
d8c81c0a11 UUID: remove useless default values
these are overwritten by the constructor, so they have no use here.
2019-03-27 15:39:06 +00:00
7b2b43c0ca .................... 2019-03-26 19:56:03 +00:00
0aebb3f4fb Clean up LevelSoundEvent handling 2019-03-26 19:53:40 +00:00
e1504c668e LevelSoundEventPacket: more helpers 2019-03-26 18:23:02 +00:00
10db57655e clean up some direct LevelEvent usages for sounds 2019-03-26 18:06:12 +00:00
37b5ad8350 Remove remaining direct protocol usages for particles 2019-03-26 17:00:00 +00:00
1bf0802275 LevelEventPacket: added create() to reduce boilerplate code 2019-03-26 16:49:00 +00:00
7333e7118e Server: remove useless function 2019-03-26 15:52:34 +00:00
c98801402b Network: silence unhandled packet message on bad raw packet 2019-03-26 15:13:36 +00:00
a9c76c2424 NetworkInterface: remove unused function 2019-03-26 15:09:43 +00:00
161d5bd6b8 Merge branch '3.7' 2019-03-26 15:02:17 +00:00
89833b3b68 Merge branch '3.6' into 3.7 2019-03-26 15:01:59 +00:00