3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-21 05:50:05 +01:00
Commit graph

40 Commits

Autor SHA1 Nachricht Datum
Pokechu22
4d3bf20155 Re-enable the vanilla debug MethodProfiler and /debug command
This is highly useful for profiling vanilla code, and in some cases plugin code.  It is somewhat expensive, though, which is why it was initially disabled.

I chose to use a system property instead of a configuration setting because 1) the MethodProfiler is exclusive to CraftBukkit and not part of the general API (the timings system is the general API equivalent), and 2) using a static final boolean property _may_ allow the JITter to optimize out the methods when disabled (though I'm not sure of it).

There are several changes to fix cases where the profiler code was broken slightly by other craftbukkit changes.  All of cases have been fixed, except for the block entity ticking one, due to the cost of the getSimpleName call.  For that, a ticking entry is used instead, so that time spent actually ticking the block entities can be compared with time processing the list.

This (effectively) reverts 7dde6cc566.
2017-01-18 17:42:35 -08:00
md_5
70bc70b4ee SPIGOT-2966: Entirely remove problematic check 2016-12-28 09:50:40 +11:00
md_5
13a5b12206 SPIGOT-2944: Just apply filtering to players 2016-12-22 16:50:24 +11:00
md_5
fb50a80d0f SPIGOT-2948: Alter filtering logic 2016-12-21 17:12:39 +11:00
md_5
8ea0c87f51 Update to Minecraft 1.11.1 2016-12-21 07:00:00 +11:00
md_5
7f313269d7 SPIGOT-2926: Check spawn-npcs setting for NPCs.
Probably should refactor this code to be more similar to Vanilla in future.
2016-12-17 14:26:09 +11:00
md_5
c25ddf063a Update to Minecraft 1.11 2016-11-17 12:41:03 +11:00
md_5
75f99ec7c5 Update to Minecraft 1.10.2 2016-06-25 11:54:17 +10:00
md_5
a8a4bedd2a Update to Minecraft 1.10 2016-06-09 11:43:49 +10:00
md_5
a022dd22fd SPIGOT-2303: Use getChunkIfLoaded 2016-05-22 13:57:44 +10:00
md_5
c5e9a169fa Minecraft 1.9.4 2016-05-10 21:47:39 +10:00
Aikar
44216f12ed SPIGOT-2033: Re-add missed diff for entity.valid 2016-03-29 11:31:36 +11:00
md_5
8e5eab2655 SPIGOT-1746: Tile entities may not always tick. 2016-03-25 14:04:27 +11:00
md_5
d0e326a071 SPIGOT-1900: Stub out expensive and redundant method call 2016-03-12 20:43:04 +11:00
BlackHole
68b72776a9 Missing diff effecting frost walker ignoring entities 2016-03-10 07:49:44 +11:00
md_5
3c1ec8a54e SPIGOT-1663: Fix WorldBorder displaying in secondary worlds. 2016-03-06 12:13:07 +11:00
md_5
60f01ef304 SPIGOT-1626 / MC-98994: Fix slow chunk performance
Please see https://bugs.mojang.com/browse/MC-98994 for full explanation.
2016-03-05 18:50:38 +11:00
md_5
f5d92d6b12 SPIGOT-1525: Fix worldborder set. 2016-03-01 11:20:42 +11:00
md_5
aa008dff0f Update to Minecraft 1.9 2016-03-01 09:32:45 +11:00
Thinkofdeath
e3b5669be1 SPIGOT-915: Remove the getEntities filter
Didn't fix the issue like i'd hoped and broke a few plugins in the process.
Ideally though plugins shouldn't be using it for large ranges because it
is inefficient
2015-07-08 22:42:08 +01:00
md_5
d63abf6cf1 Cut fluff from patch headers. 2015-05-25 20:37:24 +10:00
Thinkofdeath
22c613d869 SPIGOT-725: Always return captured tile entities 2015-03-22 19:21:34 +00:00
Thinkofdeath
22ee419816 SPIGOT-711: Correctly init captured tile entities 2015-03-16 15:55:10 +00:00
Thinkofdeath
55f3a3ea9e Capture tile entities and only place them in the event succeeds 2015-03-16 09:48:01 +00:00
Thinkofdeath
20ef9f5676 SPIGOT-677: Add populators slightly later to make sure everything is initialized 2015-03-11 10:15:39 +00:00
Thinkofdeath
091a7212b0 SPIGOT-626: Add populators early to prevent chunks being missed 2015-03-08 10:08:19 +00:00
Thinkofdeath
21f6ee1f62 SPIGOT-644: Attempt to fix a long standing issue by limiting the range of getEntities 2015-03-08 00:44:47 +00:00
Thinkofdeath
d8a9c7be42 Update to Minecraft 1.8.3 2015-03-04 09:48:58 +00:00
md_5
07fcb493a9 Rewrite storm / thunder event handling to catch all cases. Fixes SPIGOT-335. 2015-01-05 09:50:48 +11:00
Thinkofdeath
f48410a39c Fix per a world world borders
Well... mostly anyway
2014-12-10 19:17:17 +00:00
Thinkofdeath
bab0e8bc70 Fix the chunks being blocked from unloading based on the keepSpawnInMemory flag 2014-12-05 11:17:47 +00:00
Thinkofdeath
b6cff41473 SPIGOT-96/BUKKIT-5016: Fix thunder storms not darkening the sky and transitions being broken. 2014-12-02 15:14:17 +00:00
Thinkofdeath
9255e9d82c Fix canceling BlockPlaceEvent 2014-11-29 21:17:57 +00:00
Thinkofdeath
bf401fbbde Remove old debug info 2014-11-29 21:09:04 +00:00
Fabian Faßbender
4d0f5edb05 Just only hold the last BlockState update for the same location. This fixes SPIGOT-44 2014-11-29 19:08:50 +01:00
Thinkofdeath
90ac03522a Revert "Remove patch headers"
This reverts commit d6e3dff7d8.
2014-11-28 23:02:15 +00:00
GunfighterJ
d6e3dff7d8 Remove patch headers 2014-11-28 16:54:14 -06:00
Thinkofdeath
2abdb9a061 Use the right name for the AsyncPlayerPreLoginEvent 2014-11-28 17:43:48 +00:00
Thinkofdeath
669c44cb3c Fix eating food whilst not facing a block 2014-11-28 11:23:19 +00:00
Thinkofdeath
24557bc2b3 Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/
2014-11-28 17:16:30 +11:00