Ghost_chu
4dfb07097b
Code cleanup
...
Former-commit-id: c4e6ded9adfe5f99c7d109211ab71cc405dc847f [formerly 54ebbc191e436c5418631f4020e8b0f41c6f4527]
Former-commit-id: 096b34e7b8b7acafbc8a58abb77c1eeaa1e05a7e
2019-08-27 16:18:27 +08:00
Ghost_chu
13e6cb4aa1
Return SELLING when can't match anything
...
Former-commit-id: 7e082d5b0d02ad113250015ef9cca6f20e47a570 [formerly 909d4938aa3a15c095fc1218575da6e5e25fa6c9]
Former-commit-id: e6557b5326030e74394c32f5dce672a9ab946086
2019-08-27 16:16:45 +08:00
Ghost_chu
9b95b592cc
Cleanup Code
...
Former-commit-id: 6ade2f7fca426a3d16e7afb2d84bee91f0d69a00 [formerly 34e6b296f11e1f04924c81352a3b3399b65a2639]
Former-commit-id: e1991bd086d60f0fabe9167d8fc689e8cadc7d04
2019-08-27 16:16:09 +08:00
Ghost_chu
a38ae28019
Fuck that, revert it
...
Former-commit-id: f12bc3b13bac4cd4e5e6a06a295581ca68812f86 [formerly 5e53c0b08968e30da2f826efd38a1c1b2bc309b1]
Former-commit-id: 78c45a96cfda3bfe9ac7be2f22e8fc78db45bfdb
2019-08-27 16:15:09 +08:00
Ghost_chu
4d5372097e
Set event not drop anythings
...
Former-commit-id: 92870506772f96ccd6da34f1b539a89f25a785df [formerly febf2ecfd51974d3fb1fb5720ab44e499657ef2a]
Former-commit-id: 1a71be9b06f91794ed9533b2ff6717cfd33a3aa7
2019-08-27 15:55:01 +08:00
Ghost_chu
8fe7e48b88
Fix some build errors
...
Former-commit-id: 7a8829ffa3df76e1b100a8cf982634c487538edc [formerly e5499d16c989ee61768ae473d16323707f3f70ae]
Former-commit-id: 098cbeead63a546e4639146298cdc4d2269ba2a4
2019-08-27 15:45:12 +08:00
Ghost_chu
344a0a3d6b
Code tweaks
...
Former-commit-id: 56ccace32a077f07ef612fd0e6760376720d2b1c [formerly 6f04fa76bd47d7f241cada8488224417a8bfb99b]
Former-commit-id: 9e2de62fc718372bf97ec03d77ba90a98d2689d3
2019-08-27 15:31:01 +08:00
Ghost_chu
221924e631
Fix little bug in MsgUtil
...
Former-commit-id: ec202ec0458df870953d76a77ff8acfb1c6874c5 [formerly a4ab3dcd3acc12fe247588576ac0326143eafde1]
Former-commit-id: e78dff2f591150a9a6c4b122a771247b64a1c73a
2019-08-27 15:08:42 +08:00
Ghost_chu
8fee487e7d
Use builtIn language file phrases before calling hard-code language phrase.
...
Former-commit-id: 02eff917d9ecb37d454b9c88f4adc827fa2cb46f [formerly 822ac304d101779b5848319a4aa20bf7a2805e69]
Former-commit-id: c2fcda995de8a66e7d3bb389f5ca766fda01592b
2019-08-27 15:06:48 +08:00
Ghost_chu
00b692958b
QS custom event manager.
...
Former-commit-id: 60a63300cd3e1fbbc1ea16ef8a4bcd3694e80b56 [formerly 8fe2f168e3dfc49c4ddb3b44417dc9f39b471308]
Former-commit-id: 3bd0c09275c1f8b89e344e6755ea22968051777a
2019-08-27 14:53:35 +08:00
Ghost_chu
d74a0c67ad
Retrigger the travis
...
Former-commit-id: 84f9d619b096fedc11c408993c87075272d63cd6 [formerly 8a7d397a612e913645d41b886e80037e88c335b2]
Former-commit-id: 372d4d4201b68d1c97e3aea9b07fd9c08fb4eea0
2019-08-26 17:07:08 +08:00
Ghost_chu
a84e760f72
Optimize performance when nor cross the chunk detection
...
Former-commit-id: 518d3413d742242b06834f7f6075194960563296 [formerly cc77f3372ef1b61940deda6fa255cc1ee775c422]
Former-commit-id: aa67e5e4ba9ec3eef8094f75d469351d19ad7ee7
2019-08-26 16:13:01 +08:00
Ghost_chu
c47a41da05
Send global alert when block is breaked
...
Former-commit-id: 5549009d46567840ccf6dace891426f0bda44380 [formerly 2e40250fdf8c2b6b1e8f86e5d3aa140700eb5d46]
Former-commit-id: 6df359de6b9eb2c77543b06930687cfea5b239c9
2019-08-26 16:09:13 +08:00
Ghost_chu
c8e792ee7b
Optimize the targetShopDisplayCheck performance
...
Former-commit-id: 539c1d93571be609bc40d731f4cc5ceaef323992 [formerly 7f4f5d49a0600480a96eb52c07685cac25f24e3a]
Former-commit-id: 7aa7cd5b5837e5785d5599692c454ef66360fe0d
2019-08-26 16:04:55 +08:00
Ghost_chu
b375f3c7d3
Optimize the item check performance
...
Former-commit-id: bff5c31b4823a010c1334c80a5a4bc035718aa1b [formerly e53361720c6d92e8d85264edebffff272ada71fb]
Former-commit-id: b6769077a92db94cd48c9fc86668e1dcc38d7aab
2019-08-26 16:03:05 +08:00
Ghost_chu
4aa8216666
Optimize the performance in InventoryMoveEvent
...
Former-commit-id: f803d3e04bb6a32693b2257a351bdc1f0ce45b09 [formerly 57efbba8c66d4e19b8ca3c046207e31b7e4663c0]
Former-commit-id: 4d1859687dc1c120d86142a502f1b9c72bd01056
2019-08-26 15:49:44 +08:00
Ghost_chu
788aede000
Fix NPE in shopProtectionListener
...
Former-commit-id: 10aef641ae04ce7812afe1afd97dcdcad84c6ffb [formerly 7df8a4f24984abbacbe115a9711a3e8c5d2e6769]
Former-commit-id: d287cca71d7e79944206860e12de57aa0e27849d
2019-08-26 14:49:47 +08:00
Ghost_chu
0185bdad37
Fix attributeModifiers matcher bug
...
Former-commit-id: 9108a3568475d2876c81fad77f439883c0975acd [formerly b3e21136f0584f240a7632f1b4bc2957b8c2d3b1]
Former-commit-id: 773cce5befbc187157bd12f3ab23399a84c9d6ef
2019-08-26 00:02:16 +08:00
Ghost_chu
453042450b
Fix debug error
...
Former-commit-id: 0121941d6c66c425dc1ff71c9bda2da8afe965c3 [formerly 97f2f78a64503b5d084801675f678e15eabbdcea]
Former-commit-id: d6e258dddc0d6cf92962e8ff7e4fe5bc5b0b9637
2019-08-25 21:36:16 +08:00
Ghost_chu
5a250c35f6
Move LinkedList to HashSet
...
Former-commit-id: 4b7632e9009df783380b5313f355904d2d252bcb [formerly 63a1ce149cca6b37270cb7d740c312acf6fa4d0b]
Former-commit-id: 33fa0856f32962387bbd02e213562f4a266b2958
2019-08-25 21:07:12 +08:00
Ghost_chu
2f14620940
Change the priority on WorldLoadEvent
...
Former-commit-id: 3316d301d3373b96a31fc89c1aa923999c7773c1 [formerly 5f65ac68453360c14d4eb3d5000402e61ea2e2e2]
Former-commit-id: 36bdcb76f7452ff47dd394274b9887b376f5e3ca
2019-08-25 21:06:26 +08:00
Ghost_chu
3326aeb900
Update example config
...
Former-commit-id: b6405cf3037a81e25b64e417afd5a2350b39d7c2 [formerly 0feb89498548df71747c2fb500c3097cb111c129]
Former-commit-id: 76ec7571d4becffd427cdc89ff99351f700eaf37
2019-08-25 21:04:41 +08:00
Ghost_chu
f770d1055c
Fix #169 maybe
...
Former-commit-id: c798e69e572eef640d3cac1f8473653da2e1ebf4 [formerly 12e80a889cc5e8e76652e7bf5909655e14efe89b]
Former-commit-id: ec8b30289ebf24c03cf4b6c16bf95f48d26136ea
2019-08-25 20:48:38 +08:00
Ghost_chu
c7939fa8b7
Finally fix the InventoryMoveEvent
...
Former-commit-id: e10073d2d36b1f81c6c1137667730280b3335a09 [formerly 721a587f54c9c0d2757c4c36f72d4f650f1527ec]
Former-commit-id: 7383d6377ef1a36aef359f9f620d7b742643d6ed
2019-08-25 20:47:15 +08:00
Ghost_chu
b26092e6a1
Remove useless checks
...
Former-commit-id: 6fb04bddcedfb8bf9bf6d531bb8fe7958e8420f7 [formerly 057532fcda56b002fbf58cf702ea2f6f751c51b5]
Former-commit-id: a0d1cd0754a72884749d60c250cf3ae9e90f1389
2019-08-25 20:22:38 +08:00
Ghost_chu
fc8a31d3b3
Cancel it if shop owner not is player
...
Former-commit-id: 7162949edc92d11fe64020633b0b492d9c1bee51 [formerly 6af2967ccc57c58295c06c321f2079ed0daa0848]
Former-commit-id: 2307c55409332641d6f8b233ac58608ae37b9812
2019-08-24 22:23:46 +08:00
Ghost_chu
ba296fae90
Check event is be cancelled
...
Former-commit-id: 7a35da3cd7ac1f8984bf3e03aee9c635baa39a0d [formerly a4132948afb8fa277f4571687bae40009ae6533b]
Former-commit-id: 7e52412cb1b5536fc8570d4b14aba33bfb9ca270
2019-08-24 22:21:29 +08:00
Ghost_chu
8411762ccf
Fix again
...
Former-commit-id: 4771c2475d881c28b9a8cdf54594de740b11a9f5 [formerly b5bd49cabf3f7dccff2363d5483c5901ad1d8a10]
Former-commit-id: 3d4aeec7d689e4c72d1b115b8b4bb89c8ae36a6b
2019-08-24 21:48:11 +08:00
Ghost_chu
f417c41f36
Fix info error
...
Former-commit-id: 80b86757a369a5cb4f1bb09805d8b1e76b3a3348 [formerly 7c985a73ed1c2ddf45c9159ce9e475c4ce4c1a51]
Former-commit-id: 95780e59fd6a20e5b7f1d92523fecd29cf5421ce
2019-08-24 20:32:22 +08:00
Ghost_chu
47e2b31e3b
Modify api accept the null
...
Former-commit-id: 02729cd8afadf6e4728d83cd3ffd86f679c58fd5 [formerly 47591fdcf72ec0dae34c1f8009eb97050e4a30a8]
Former-commit-id: d6ad06268265d16f4075332653f38f650b5c88a5
2019-08-24 18:37:40 +08:00
Ghost_chu
7d611c137d
Purge old shop before creation
...
Former-commit-id: 1bfcdc8e32caec92c77f5170249cfa725a58767b [formerly de367796aa3ff40fa500b97c2a21f18c2d4fcc3f]
Former-commit-id: 86f79ca03bf4f938eaed750a557d87f2305a2a08
2019-08-24 18:36:47 +08:00
Ghost_chu
d6e044e441
Fix possible NPE
...
Former-commit-id: 457393a22cecdbbdb4b8190fd24c0d5e6abe2566 [formerly f15e5802f53b03ad2dea8c65f6d44c75dd57ecbd]
Former-commit-id: b5ea513f07f68e1cef71d9fa27c51a8f8bad7fb2
2019-08-23 16:15:02 +08:00
Ghost_chu
2427cadb26
Nolonger listen InventoryMoveItemEvent because we already listen the pickup item event
...
Former-commit-id: dd9bf695d7a47ab9e506f5eca05ad48eb574809f [formerly 05a7013d10cc9689e12c03151399d5582ceefb7e]
Former-commit-id: 97b4d59516d9391320b8e2609a8e3714a7a5dd67
2019-08-23 15:08:32 +08:00
Ghost_chu
11dcd3c4b8
Optimize the performance on DisplayItem checking
...
Former-commit-id: 44800172607e2e2a46c6736afb608046ec996f1e [formerly f05ad24f3c8f723733a2c8e3e169fb6cd7f66ef1]
Former-commit-id: ffbbe26fcc44a5694e17a04cb08ec7c9c712c632
2019-08-23 15:07:52 +08:00
Ghost_chu
2f180b2aa2
Fix possible bug if cross the chunk border
...
Former-commit-id: 207d78aaf5ee2778130aa14a770bff30939ccaf2 [formerly cbd1bb1865d79dc9f16664b589088de6354e03bc]
Former-commit-id: 7013980d5a931107098fa46a16f6d61cdbf71d75
2019-08-23 15:04:58 +08:00
Ghost_chu
0a5b35bef2
Fix lore bug
...
Former-commit-id: 7074270a90d18e3cdc82ea648afe0c502335bd29 [formerly 67518d7aa4b77c9ebb94f58f230ed59bc593fd31]
Former-commit-id: b117d0b17b6191f002c82a843d2d1dd933342ca8
2019-08-20 23:27:08 +08:00
Ghost_chu
d4dabaabb6
Beep
...
Former-commit-id: 6f9519291b9d43a9c1d2f50c95169392f341d60b [formerly ae794bd36ab53fed92a78ed19a6be192481eef83]
Former-commit-id: 467c8af982ac2fe3176d9abef3db75984d40e84d
2019-08-19 15:47:14 +08:00
Ghost_chu
79b6e07de8
Remove async move check -- Memory issue
...
Former-commit-id: cce6f283ce139ed2f96d94f2abcde4c7cc4a8494 [formerly 09743fb47614d729f5d027923c0a1e0ae6080e6c]
Former-commit-id: e0b75d1846420d9f3b642ee5e27793fa07908d25
2019-08-19 15:45:18 +08:00
Ghost_chu
fb8cbd569e
Paste more datas when pasteing.
...
Need upload transaltions cause it may cause no-reasion disconnect if somethings wrong in there.
Former-commit-id: 1ccaff5e248962e83d09c389cd83be8183086f60 [formerly 4c77998bb57eaaf35dd92ee4ab4a08e3a93a7153]
Former-commit-id: 9c9064cdbd82f8171f4cd134be9320e9060f9f82
2019-08-19 15:32:54 +08:00
Ghost_chu
3c0f6cb322
Add lines between debug logs
...
Former-commit-id: a86a8e2d8dabcc7e5e773a79afb30bf2e0864194 [formerly 5435c54d346b9c0f3d4a63379670d19cff8888e8]
Former-commit-id: 60f81ce88c80d9c13705aaaa49406a4784a12cd6
2019-08-19 15:29:47 +08:00
Ghost_chu
11746edff8
More friendly to send BUILD CHECK failed message
...
Former-commit-id: f1c743862aefd34adbffb6a44834a52c29aac7d2 [formerly 5de39333b755e043b287dffd68ecc036f00c4d43]
Former-commit-id: 0224ef779b0704255d23894d58edfb8793e82692
2019-08-19 15:28:28 +08:00
Ghost_chu
6e7c2293fa
Fix itemMatcher and sell command bug
...
Former-commit-id: 15cdc3fbdcff754a0205c8afc20877fc9a9d8be9 [formerly 65add46848be7e2af0b15dac57791f8c89bcaacc]
Former-commit-id: 094f82c7dff166e4bbaad446ccfd7470eebb2737
2019-08-19 15:27:07 +08:00
Ghost_chu
1cdb34bec5
Fix meta matcher class in the matcher class
...
Former-commit-id: 3e7f2f90a576fbc0c37056298f8d939bbad1d16e [formerly f0ee1ce46f6125f4b4f8866b39031cc2b1abdbc1]
Former-commit-id: 01ebe770e0b638c381156310633a6620bb65e077
2019-08-19 15:21:10 +08:00
Ghost_chu
16d2903df4
Use faster deepEquals method in java to replace lines check
...
Former-commit-id: 474b213f30199e50b9863bc2c11b5a0470dae65b [formerly 1992fa33889457e7c7930ff4e09867d40c8cda0f]
Former-commit-id: 558c3e2d43f87467ba4ca6a14048c5044aadc374
2019-08-19 15:20:06 +08:00
Ghost_chu
792fd82d1e
Use faster deepEquals method in java to replace lines check
...
Former-commit-id: cec29e4517b627ca50c4e37bd06636acc34b4aaf [formerly 2261ef58b73b1bc28d8d2581869a81e728ee3699]
Former-commit-id: 7241fc0086cb3804a684f401d01c2648f97bc358
2019-08-19 15:18:20 +08:00
Ghost_chu
d808b9c0c9
Add repaitcost support
...
Former-commit-id: f025824f0117363c7ebacb2811677ddcc16d61a4 [formerly 286df6551ab76130ff3b7ffdff3b2faf577ec797]
Former-commit-id: d975c63051915d7a952f01afa8fa1cab78a94362
2019-08-19 15:12:18 +08:00
Ghost_chu
b349d9ce02
Fix ItemMatcher bugs.
...
Former-commit-id: 2418c4bd624f19745fb79df926a1c8974e28476a [formerly d9c0aed489021dad7d8e5683894bd58bb2934347]
Former-commit-id: 93107c54fecb77bc8b3cdff9f3da04cbfa056b04
2019-08-19 15:00:54 +08:00
Ghost_chu
227d1c0382
Remove useless comments, we already will save example config in data folder
...
Former-commit-id: 296099b2f5394eab1d63932f739f4b890f106849 [formerly 90a6c070ae16d27ac77d6735cf71d88b945f337e]
Former-commit-id: a3b076c41338dffc38745e86bb2b2e5af08d1f87
2019-08-18 23:07:35 +08:00
Ghost_chu
df87ec2993
Fix build error
...
Former-commit-id: bfad8d848420180cb89592a3d6ecd954a05e105e [formerly 44121054a9e2b54aa8fd90ea09a3c37461d5b357]
Former-commit-id: 36563bf0bbe7369ca290ccd7e4c5a04eb2caae06
2019-08-18 23:01:09 +08:00
Ghost_chu
acbb65a7dc
LangUtils language auto-load
...
Former-commit-id: c16b85b110e325a252545c6eb3bc696d40d94d6b [formerly a0ce3186f16df210ad39e4d0c6c25facb1b9889a]
Former-commit-id: 7bf49366b1d5b9ec73f9bf34b82e25df224c9176
2019-08-18 22:59:54 +08:00