Commit Graph

1016 Commits

Author SHA1 Message Date
md_5 b8bbdcfacb Remove deprecation on OfflinePlayer/Player.getName 2014-03-30 20:15:56 +11:00
md_5 8ad937a168 Remove deprecation on some player lookup methods
Most of these methods still have plenty of use given that only one player with each name can exist at a time. Deprecating these methods renders even basic functionality such as /msg <name> impossible without causing compiler warnings. We will maintain this API and it should be considered safe and appropriate for most use cases.
2014-03-30 15:58:32 +11:00
md_5 c349a2493b Prevent the inevitable server lag|crashes caused by people doing a blocking operation on the main thread. 2014-03-30 09:16:12 +11:00
md_5 f5167c9e46 Upstream: Add more expansive UUID based operations 2014-03-30 09:09:24 +11:00
Thinkofdeath 6bba77bba3 Re-add a fixed version of the "Improved Ping Sending" patch 2014-03-28 21:54:36 +00:00
Thinkofdeath 0f0c2734df address -> realAddress 2014-03-27 11:53:41 +00:00
md_5 97a67451a5 Fix several occurances of missed diff between the current version of mc-dev. 2014-03-27 16:01:20 +11:00
Thinkofdeath 0c70e688f7 Use the right constructor for bungeecord support 2014-03-26 23:53:19 +00:00
Thinkofdeath 152e14cadc Remove the Improved Ping Sending patch 2014-03-26 20:34:47 +00:00
Thinkofdeath fdfc07bd39 Handle case where currentTick could be negative
@Aikar is there a better way to handle this?
2014-03-26 15:18:11 +00:00
md_5 321d00dbd5 Upstream: Fix issues with leashes and weather due to missed diff 2014-03-26 20:51:39 +11:00
md_5 48d7a1a40f Make restart command ignore async checks. This is needed for the watchdog to properly restart. 2014-03-25 16:13:09 +11:00
md_5 5164642604 Remove async op catcher to its own class 2014-03-25 16:11:45 +11:00
Thinkofdeath 5beb96b1de Upstream merge 2014-03-24 20:36:29 +00:00
Thinkofdeath 7fd79ff28d Move part of the Watchdog patch back into the correct patch
I have no idea how I managed to mess this up
2014-03-24 17:51:06 +00:00
Thinkofdeath f5643a1d34 Fix missed diff in TileEntityHopper 2014-03-24 12:01:26 +00:00
md_5 3c4481aa87 Fix conflicts 2014-03-24 17:12:40 +11:00
SpigotMC 1d54735aa4 Automatically update upstream versions. Bukkit-1.7.2-R0.3-7-g4a47cf3, CraftBukkit-1.7.2-R0.3-7-g13c4801 2014-03-24 01:56:24 -04:00
Thinkofdeath 6d22914df8 Re-add missed method to the Player Collision API 2014-03-23 18:16:32 +00:00
Thinkofdeath 58a6cb892b Cap villagers' window name to prevent client disconnects 2014-03-23 10:54:53 +00:00
Thinkofdeath 9b863cd5f2 Fix the removal of potion effects 2014-03-23 09:49:23 +00:00
md_5 c70bb68362 Fix some merge conflicts 2014-03-23 15:21:51 +11:00
SpigotMC 41ff05fb89 Automatically update upstream versions. Bukkit-1.7.2-R0.3-7-g4a47cf3, CraftBukkit-1.7.2-R0.3-6-ga3ae0c6 2014-03-23 00:08:20 -04:00
Thinkofdeath 12aa3ca6ef Check for manually prefixed commands or commands that don't need a prefix for calling vanilla commands with command blocks 2014-03-23 01:29:13 +00:00
md_5 09d6e4d9e1 this.t() -> this.u() - make the server actually tick! 2014-03-23 11:34:50 +11:00
md_5 c9605032d0 Don't print permgen warning for java 8+ 2014-03-23 11:20:02 +11:00
Thinkofdeath 69324bba91 Update to 1.7.5 2014-03-23 00:06:43 +00:00
Thinkofdeath 0d601be5dd Re-add missing Player part of the particle API 2014-03-20 22:29:54 +00:00
md-5 5e5315f541 Add more Java versions to Travis 2014-03-20 20:15:36 +11:00
Thinkofdeath 670d08ceb0 Remove the lastChunkAccessed if it is unloaded.
This fixes an issue where a chunk would be unloaded but remain in lastChunkAccessed meaning calls on getChunkAt could return a chunk that is no longer loaded, this caused an issue where the chunk could be reloaded whilst in use reverting any block changes. This caused findEndPortal to return null even after createEndPortal which would crash the server trying to teleport to a null location.
2014-03-18 09:52:01 +00:00
drXor d69ddc3163 Allow enchanting tables to enchant any item when plugins prompt them to. 2014-03-16 16:54:38 +11:00
drXor ddf5477f57 Change various "Nope!" kick messages to something more descriptive and less confusing for players. 2014-03-15 16:44:38 +11:00
md_5 f117731919 Optimize Player Lookup - #112
Optimize player lookup and various player operations. We mainly do this by keeping a map instead of iterating through all players. We also speed up the duplicate login check and a few other checks by simply checking for one matching player.

Thanks @aikar for some of the implementation
2014-03-15 14:34:26 +11:00
drXor 01e6512f06 Allow the potion effect caused by WitherSkulls to be cancelled along with damage cancellation (e.g. via events). 2014-03-15 14:14:01 +11:00
md_5 342630e7b4 Alter BungeeCord support to require BungeeCord when it is enabled. 2014-03-15 08:46:24 +11:00
Thinkofdeath 4adef05290 Re-add the Fix ConcurrentModificationException while being idle kicked in a vehicle patch 2014-03-12 21:26:40 +00:00
md_5 254df64f1b Rebuild patch hashes, fix build. 2014-03-10 09:14:45 +11:00
md_5 71fce21cdd Strengthen entity list guard patch back up to its original level. Whilst upstream fixes attempt to fix this, they aren't fully functional and can cause the server to crash. This way we can both identify bad plugins and stop all crashes. 2014-03-10 09:04:25 +11:00
md_5 6ed812be08 Pop guard entity list patch to top 2014-03-10 08:37:28 +11:00
md_5 3740e09267 Add more spigot links 2014-03-09 14:33:30 +11:00
Thinkofdeath 22e3ef2350 Prevent hoppers from loading chunks 2014-03-07 19:56:42 +00:00
FrozenBrain 4bd27f7d0f Use one PermissibleBase for all Command Blocks.
This fixes issues with too many command blocks lagging or crashing the server, as well as just increases their performance in general.
2014-03-03 18:00:42 +11:00
Thinkofdeath 3b52578a51 Normalize spaces on when reading a chat packet 2014-02-26 14:47:01 +00:00
md_5 eb9e4c0460 Update "Don't special case x move value" patch to ensure that move events are always fired, regardless if there are any "special cases" 2014-02-24 18:04:12 +11:00
drXor 505ac3fb4e Silent Lightning API 2014-02-23 20:37:28 +00:00
md-5 6be881e6c1 Merge pull request #121 from Zbob750/patch-1
Fix ClearTickList to return correct value
2014-02-18 14:16:00 +11:00
Zach Brown 4517f82aa8 Update SHA1 Info 2014-02-17 20:56:13 -06:00
Zach Brown eed20ead01 Fix ClearTickList to return correct value
Previously it always returned false, this fixes it to return whatever value the user has it set to.
2014-02-17 20:55:42 -06:00
Dmck2b 88d8ca53cc Return entity-tracking field other to intended usage. 2014-02-17 12:19:44 +00:00
hcherndon ede7aeb8b4 Unfinalize the isDisconnected() method by bukkit. 2014-02-15 09:23:33 +00:00