5821 Commits

Author SHA1 Message Date
Dylan K. Taylor
b3dada4cb9 Fix wrong documentation in ServerEvent 2017-07-26 21:24:19 +01:00
Dylan K. Taylor
ed5f69f170 Fixed documentation and expiration date nullability in BanEntry, close #1242 2017-07-26 19:37:08 +01:00
Dylan K. Taylor
7d777510c5 Use the Crash Archive for crashdump submission instead of pasting them into an issue 2017-07-25 10:12:02 +01:00
Dylan K. Taylor
6ff92f2adf Fix player timeouts crashing the server 2017-07-24 21:12:05 +01:00
Dylan K. Taylor
f32e880542 Fixed really dumb copy bug breaking crafting 2017-07-22 12:04:52 +01:00
Taras
6cacb368ce Add PlayerJumpEvent (#1223) 2017-07-22 11:18:53 +01:00
Dylan K. Taylor
6fa59230db Added documentation for Thread->registerClassLoader() and Worker->registerClassLoader() 2017-07-22 10:55:00 +01:00
Sandertv
1a7f567a70 Return the dropped item entity in Level->dropItem() (#1222) 2017-07-20 12:27:58 +01:00
Tim (robske_110)
42fb1d1fef Improve usability of Sign API (#1202)
* Improve usability of Sign API

* PHP

* Throw exceptions if out of range

* Fix phpdocs

* Formatting, additional checks in the SignChangeEvent.

* Blame php storm

* require line count to always be 4

* Adjust exception message
2017-07-19 15:22:04 +01:00
Dylan K. Taylor
cca9cf2c86 Workaround for plugin versions being read as strings from plugin.yml
Config is a real pain in the ass to work with... need to split it up so this can be handled properly
2017-07-16 11:31:21 +01:00
Dylan K. Taylor
7c00982fff Fixed furnaces crashing the server
Beware ListTag indices being strings! Should be impossible, but the NBT library is poorly designed.
2017-07-15 21:53:43 +01:00
Dylan K. Taylor
3150c50cac Typehinted AxisAlignedBB 2017-07-15 18:43:10 +01:00
Dylan K. Taylor
57e7c3d91f Missed one 2017-07-15 13:30:02 +01:00
Dylan K. Taylor
3e8825f826 Fix bad documentation in Block 2017-07-15 12:48:41 +01:00
Dylan K. Taylor
ab3b50f062 Stop it PhpStorm, you're making me look bad 2017-07-15 12:15:15 +01:00
Dylan K. Taylor
dbb92096e4 More typehints, documentation fixes and static analysis cleanup 2017-07-15 12:12:06 +01:00
Dylan K. Taylor
24bdf330d5 Merge branch 'moar-typehints' 2017-07-15 09:43:43 +01:00
Dylan K. Taylor
b28128f835 Submodule updates 2017-07-15 09:43:33 +01:00
Dylan K. Taylor
fb5587350d Solved issue of builds hanging when TesterPlugin fails to load (for example incompatible API version) 2017-07-14 16:48:42 +01:00
Dylan K. Taylor
e6a2b0f270 Fix inaccurate documentation for ServerCommandEvent 2017-07-14 16:28:47 +01:00
Dylan K. Taylor
bb230c5812 Shut up PhpStorm 2017-07-14 14:13:04 +01:00
Dylan K. Taylor
6de8415c79 Merge network refactors 2017-07-14 13:04:02 +01:00
Dylan K. Taylor
2018ad6376 Merge master 2017-07-14 12:12:35 +01:00
Dylan K. Taylor
b5790d19bf Cleaned up MainLogger registration and declared a typehint
Remove null hint from MainLogger::getLogger() so static analysis doesn't complain everywhere
just make sure you register the logger before trying to use MainLogger::getLogger() on a different thread!
2017-07-14 11:39:04 +01:00
Dylan K. Taylor
9390866a13 Fix derp 2017-07-14 11:00:59 +01:00
Dylan K. Taylor
c3b8be3f60 and more typehints 2017-07-14 10:56:51 +01:00
Dylan K. Taylor
b9355387da fix some inspections related to crafting recipes 2017-07-14 08:53:37 +01:00
Dylan K. Taylor
7f99d9019a API bump and submodule updates 2017-07-14 08:52:27 +01:00
Dylan K. Taylor
8bb0c53797 More typehints for Command stuff 2017-07-14 08:52:27 +01:00
Dylan K. Taylor
46a2e6cbf8 Some breaking changes for plugins >:D 2017-07-14 08:52:27 +01:00
Dylan K. Taylor
8fc1501e89 Moar typehints 2017-07-14 08:52:27 +01:00
Dylan K. Taylor
6a191b5069 Remove useless condition 2017-07-13 19:59:01 +01:00
Dylan K. Taylor
08b8debd78 Added a FIXME for generator 2017-07-13 19:53:48 +01:00
Dylan K. Taylor
2a7b736f18 Heap of bugfixes, cleanup and PHP 7 upgrades 2017-07-13 19:18:56 +01:00
Dylan K. Taylor
c2a7c2c6cd Remove duplicate Quartz class (cc @PEMapModder)
how did nobody ever notice this...
2017-07-13 16:48:25 +01:00
Dylan K. Taylor
4d874e7e78 static analysis 2017-07-13 16:45:24 +01:00
Dylan K. Taylor
23866359c9 Fix some PSR-2 violations 2017-07-13 16:14:28 +01:00
Dylan K. Taylor
3a214b7ce6 Cleaned up isEncoded mess 2017-07-13 12:21:26 +01:00
Dylan K. Taylor
6341d3a0dc don't break the preprocessor 2017-07-13 12:09:03 +01:00
Dylan K. Taylor
72d1948f30 Improved batch handling 2017-07-13 12:04:47 +01:00
Dylan K. Taylor
a7f5ee2f3e Added capability to get/set screen height in lines for each CommandSender to alter page sizes of command output such as /help (#1144) 2017-07-13 10:57:10 +01:00
Dylan K. Taylor
6b773dc04d Make resource-pack error messages a little clearer 2017-07-13 10:55:42 +01:00
Dylan K. Taylor
6af87b7b30 Fixed clearCustomBlockData(), close #1118 2017-07-13 10:44:49 +01:00
Dylan K. Taylor
5283975f20 Move inventory ID constants to their own interface
ContainerSetContentPacket will be removed in 1.2, and these aren't specific to ContainerSetContentPacket anyway.
2017-07-12 20:04:36 +01:00
Dylan K. Taylor
a5c6c8b973 Added some fields to new packets
gave up on EventPacket because it's a mess, and StructureBlockUpdate is a job all by itself
2017-07-12 19:31:20 +01:00
GamakCZ
caa229a25f Fix wrong generator name returned for Nether->getName() (#1194) 2017-07-12 18:10:54 +01:00
Dylan K. Taylor
4731bf0a16 Fix autogenerated version numbers (didn't mean to commit this)
I'm working with a beta version >_>
2017-07-12 16:36:04 +01:00
Dylan K. Taylor
30df0c2418 Refactor a bunch of network-related things for easier auto-generation of protocol stuff 2017-07-12 16:32:39 +01:00
Dylan K. Taylor
e485999218 Just cut the adapter loose instead of needing extra fields for this 2017-07-12 12:28:54 +01:00
Dylan K. Taylor
650afe2d94 Added PlayerNetworkSessionAdapter to allow abstraction of NetworkSession base 2017-07-12 12:28:54 +01:00