Dylan K. Taylor
adbd1c7bed
RCON: remove redundant sleep
...
this dates back to the days where PM used to kill threads to stop them. Today we're more civilized and ask it to stop nicely, so this isn't necessary anymore.
2018-10-06 14:44:56 +01:00
Dylan K. Taylor
d75c830a7e
Add -f parameter to lint.sh to allow it to not be useless in cygwin
...
find can conflict with windows' built in find command, which causes it to bug out when running tests.
2018-10-05 17:43:45 +01:00
Dylan K. Taylor
60e1b29462
RegionLoader: Remove incorrect size cap
...
This assumes that the region is properly garbage-collected and packed, but if the file contains uncollected garbage this may not be the case, resulting in a region larger than a gigabyte.
2018-10-04 16:40:45 +01:00
Dylan K. Taylor
426dee04a6
Potion: remove unnecessary exception throw in getPotionEffectsById()
...
this is only used by Potion and SplashPotion, and simply causes errors when trying to use potions with unknown IDs.
2018-09-29 15:39:20 +01:00
Dylan K. Taylor
d1a20ecb4a
CommandReader: Require readline to be explicitly enabled on Windows
...
readline on Windows causes issues with console output corruption. Additionally, PM readline impl is extremely buggy and probably ought to be removed. However, have a hotfix for now.
2018-09-26 13:11:21 +01:00
Dylan K. Taylor
28137efb53
Fixed server freezing when using chorus fruit from large Y coordinates
2018-09-24 18:26:20 -04:00
Dylan K. Taylor
cea146e335
Thin: use bounding box instead of collision boxes
2018-09-23 16:35:01 +01:00
Dylan K. Taylor
5d56030afa
Item: make nbtDeserialize() return AIR when reading an unknown PC item
...
This is scummy, but it's better than crashing the whole server just because a chest contained an unknown item.
2018-09-20 19:00:44 +01:00
Dylan K. Taylor
8085b81f5c
fix phars
2018-09-20 17:04:34 +01:00
Dylan K. Taylor
7c092b93b4
Fixed bug when placing blocks by clicking on redstone ore
2018-09-20 16:49:50 +01:00
Dylan K. Taylor
aa05650994
Fixed block picking for mob heads
2018-09-20 13:11:45 +01:00
Dylan K. Taylor
758d9b9784
Farmland: fixed block picking
2018-09-20 12:03:01 +01:00
Dylan K. Taylor
24a6bf7365
PocketMine.php: Allow overriding autoloader path using --bootstrap
...
I've gotten tired of re-running composer every time I switch branches...
2018-09-20 12:01:39 +01:00
Dylan K. Taylor
9a5d51fd3d
Fixed block-picking cake giving the block instead of item
2018-09-20 11:31:48 +01:00
Dylan K. Taylor
c52e1ea9f9
Fixed block picking double slabs giving the double slab block
2018-09-20 10:02:55 +01:00
Dylan K. Taylor
4bc0d850b1
Added Block->getRuntimeId(), clean up some mess
2018-09-19 16:16:10 +01:00
Dylan K. Taylor
107192c753
Bed: fixed block-pick giving wrong colour items
2018-09-18 12:31:53 +01:00
Dylan K. Taylor
0e2bbc44db
Fixed drops and item picking of Brewing Stand
2018-09-18 12:22:12 +01:00
Dylan K. Taylor
e9b84ecc8b
Fixed incorrect break check for torch
2018-09-16 17:46:50 +01:00
Dylan K. Taylor
5863d4c066
Fixed PermissibleBase->clearPermissions() not unsubscribing from permissions that aren't explicitly assigned
...
This came to light after observing cfb6856634f91930f6e013e7b98edb638dea15d9 in a fresh light. I noticed that this fix should not have been necessary because clearPermissions() should have dealt with it. Unfortunately, permissions can be set without being set in PermissibleBase->permissions, so this misses things.
2018-09-14 17:06:32 +01:00
Dylan K. Taylor
bfbc845efa
Remove impossible uses of PlayerInteractEvent CLICK_AIR constants
2018-09-14 16:17:55 +01:00
Dylan K. Taylor
06c4f31db7
Server: Account for later levels being unloaded by earlier levels' ticking function in checkTickUpdates()
...
should fix #2434
This happens when a plugin causes a level to be unloaded during an event fired on level tick.
2018-09-14 11:05:51 +01:00
Dylan K. Taylor
7d0e631a75
RakLibInterface: fixed processing hook being registered too early
...
this would cause bugs if the interface was not added directly to the network.
2018-09-11 19:47:26 +01:00
Dylan K. Taylor
15e654131c
3.1.8 is next
2018-09-11 12:18:54 +01:00
Dylan K. Taylor
6e6cda91ce
Release 3.1.7
3.1.7
2018-09-11 11:45:17 +01:00
Dylan K. Taylor
69500fe183
LightUpdate: Remove garbage left over from dab73d895099e4c1c7d632711e204971cbbb0590
2018-09-11 11:35:31 +01:00
Dylan K. Taylor
c7d58db7eb
Cleanup Entity age handling, fixed arrows despawning too quickly after long flight
2018-09-08 14:23:06 +01:00
Dylan K. Taylor
a3b78236eb
Server: don't catch Throwable for level ticking
...
this usually causes the console to get spammed with errors. Additionally, in the case where doTick() throws any exception, it's usually because we're in a state we didn't want to be in, so we really should not carry on trying to keep ticking when something breaks here. Instead, this should generate a crashdump.
2018-09-08 14:13:28 +01:00
Dylan K. Taylor
c447d51e3f
Bucket: use ItemFactory instead of self-clone
...
in the future Item->setDamage() will be removed.
2018-09-06 18:42:09 +01:00
Dylan K. Taylor
b615cad22d
3.1.7 is next
2018-09-04 11:50:05 +01:00
Dylan K. Taylor
b93e219231
Release 3.1.6
3.1.6
2018-09-04 11:44:05 +01:00
Dylan K. Taylor
a4a9309193
Updated NBT dependency for bug fix
2018-09-04 11:43:38 +01:00
Dylan K. Taylor
3a85e6cab9
Backport ce5829430563bab5d5808f8b1bb10a12c860bd17 for 3.x line
2018-08-30 15:46:26 +01:00
Dylan K. Taylor
17f1bf5512
3.1.6 is next
2018-08-29 16:08:45 +01:00
Dylan K. Taylor
5179bb1d30
Release 3.1.5
3.1.5
2018-08-29 15:57:58 +01:00
Dylan K. Taylor
6bff840293
Sync 3.1 and 3.0 branches
2018-08-29 15:55:14 +01:00
Dylan K. Taylor
08897c6941
Release 3.0.12
3.0.12
2018-08-29 15:47:28 +01:00
Dylan K. Taylor
dfe2aa9c67
Merge branch 'release/3.0' into release/3.1
2018-08-26 19:15:08 +01:00
Dylan K. Taylor
4006be35d9
Update BinaryUtils dependency
2018-08-26 19:15:01 +01:00
Dylan K. Taylor
c7af1cf785
Merge branch 'release/3.0' into release/3.1
2018-08-25 17:49:14 +01:00
Dylan K. Taylor
22fcfffa53
PluginsCommand: remove useless private function
2018-08-25 16:09:51 +01:00
Dylan K. Taylor
7dd53f2397
Replace unnecessary strlen > 0 calls with !== "" checks
2018-08-25 16:07:49 +01:00
Dylan K. Taylor
298259b473
PluginsCommand: clean up garbage code
2018-08-25 16:05:25 +01:00
Dylan K. Taylor
c123f2d10b
SimpleCommandMap: clean up error reporting in registerServerAliases()
2018-08-25 15:43:23 +01:00
Dylan K. Taylor
4cc7573a64
Merge branch 'release/3.0' into release/3.1
2018-08-22 15:40:43 +01:00
Dylan K. Taylor
9d80802e53
Living: fixed some update conditions not being set
2018-08-22 15:40:32 +01:00
Dylan K. Taylor
ec1e257e21
Entity: Fixed fire damage not taking effect in the void
...
this is an absurd bug that nobody would ever otherwise notice, but the problem is that the doOnFireTick() call isn't evaluated if hasUpdate is already true.
2018-08-22 15:36:31 +01:00
Dylan K. Taylor
6fce2b3349
Merge branch 'release/3.0' into release/3.1
2018-08-19 19:52:30 +01:00
Dylan K. Taylor
64ed8adefc
Cactus: fixed place/break logic mismatch causing item spewing
2018-08-19 19:52:07 +01:00
Dylan K. Taylor
91be5aba0c
Merge branch 'release/3.0' into release/3.1
2018-08-19 16:00:25 +01:00