Commit Graph
6041 Commits
Author SHA1 Message Date
dependabot-preview[bot] 391abfdfbd Bump PlotSquared-Core from 5.13.3 to 5.13.11
Bumps PlotSquared-Core from 5.13.3 to 5.13.11.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-05 06:47:19 +00:00
Ghost_chu 301cad0af8 Merge pull request #870 from Ghost-chu/dependabot/maven/com.github.angeschossen-LandsAPI-5.2.5
Bump LandsAPI from 5.2.4 to 5.2.5
2021-03-20 23:31:23 +08:00
Ghost_chu 447a781b84 Merge pull request #860 from Ghost-chu/dependabot/maven/com.github.seeseemelk-MockBukkit-v1.16-0.31.0
Bump MockBukkit-v1.16 from 0.24.0 to 0.31.0
2021-03-20 23:31:17 +08:00
Ghost_chu 914c6ea5f6 Merge pull request #883 from Ghost-chu/l10n_master
New Crowdin updates
2021-03-20 23:31:11 +08:00
Star c58022a387 Address Issue #807 (Only use a single item and center it for a double chest buy/sell shop.) (#872)
* Expanded duplicate checking to check both the spots that a double chest would spawn one normally, to eliminate double items for double chests.

* Addressed issue #807 (Only use a single item and center it for a double chest buy/sell shop.)

* Add a few superclass methods required for single item per doublechest.

* Fixed different items not being allowed to be in the same doubleshop chest.

* Added isRealDouble() check to isLeftShop() since they're always used together and it is easy to forget.

* Fixed the logic for the isSpawned check, since it would always return true if it had a left shop item, which could lead to missing displayItems.

* Fixed direction checking (kinda important)

* Cleanup

* Actually implementing the change for Virtual items

* Silence the warning and stop checking for non-existant stuff

* Refresh it's partner if it's a double and refresh itself at the very end.

* Moved common behaviour to the superclass for code consolidation

* Expanded the double ternany statement because it was confusing

* Cached the results of getAttachedChest() and isLeftShop() for quicker use

* Add attempt to update attached item, to ensure on spawn there are no duplicates.

* Add/move Javadocs

* Complying with String formatting

* Cleanup. Add comments, rename variables, remove debug messages, etc.

* Unnecessary. Forgot to remove in last wave of commits :/

* Add default branch for safety!
2021-03-20 20:31:34 +08:00
Ghost_chu 5d6265db9c New translations messages.json (Chinese Simplified) 2021-03-20 19:31:24 +08:00
Ghost_chu 7429f81eb3 Merge pull request #880 from Ghost-chu/Ghost-chu-patch-1-1
Update QuickShop.java
2021-03-19 23:31:38 +08:00
Ghost_chu 2033496c95 Merge pull request #878 from Ghost-chu/Ghost-chu-patch-1
Update Util.java
2021-03-19 23:30:42 +08:00
Ghost_chu b35b16afaf Merge pull request #879 from Ghost-chu/Ghost-chu-patch-1-2
Create QuickShop.java
2021-03-19 23:30:34 +08:00
Ghost_chu 0af2ef2037 Create QuickShop.java 2021-03-19 23:30:19 +08:00
Ghost_chu 401d9fea34 Update QuickShop.java 2021-03-19 23:29:20 +08:00
Ghost_chu d007aac7bd Update Util.java 2021-03-19 23:28:42 +08:00
Ghost_chu b7a750faaa Merge pull request #869 from Ghost-chu/l10n_master
New Crowdin updates
2021-03-18 13:02:40 +08:00
Ghost_chu b22a1f1e8c New translations messages.json (French) 2021-03-17 12:32:44 +08:00
Ghost_chu 0ba0e4c1aa New translations messages.json (Chinese Simplified) 2021-03-17 11:52:18 +08:00
Ghost_chu e7ac1910d2 New translations messages.json (Chinese Simplified) 2021-03-17 11:42:55 +08:00
Ghost_chu 06d65fa1c2 New translations messages.json (Chinese Simplified) 2021-03-17 11:31:15 +08:00
Ghost_chu 0c39e376c1 New translations messages.json (Chinese Simplified) 2021-03-15 20:38:02 +08:00
Ghost_chu a11092cfdf New translations messages.json (Chinese Simplified) 2021-03-15 20:15:07 +08:00
dependabot-preview[bot] 94cc1975c4 Bump LandsAPI from 5.2.4 to 5.2.5
Bumps [LandsAPI](https://github.com/Angeschossen/LandsAPI) from 5.2.4 to 5.2.5.
- [Release notes](https://github.com/Angeschossen/LandsAPI/releases)
- [Commits](https://github.com/Angeschossen/LandsAPI/compare/5.2.4...5.2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-15 06:51:19 +00:00
Ghost_chu 879a490233 New translations messages.json (French) 2021-03-15 05:11:28 +08:00
Ghost_chu 096108dec2 New translations messages.json (Italian) 2021-03-15 01:31:58 +08:00
Ghost_chu 2fdbeca4b3 New translations messages.json (Portuguese, Brazilian) 2021-03-13 05:49:35 +08:00
Ghost_chu 3ff79a1d08 New translations messages.json (French) 2021-03-12 20:11:46 +08:00
Ghost_chu 0f630e85bc New translations messages.json (French) 2021-03-12 20:00:25 +08:00
Ghost_chu b51fcbd654 New Crowdin updates (#867)
* New translations messages.json (Italian)

* New translations messages.json (Italian)

* New translations messages.json (Italian)
2021-03-12 18:05:39 +08:00
sandtechnology b8f643ca83 4.0.7.6 2021-03-12 18:04:46 +08:00
sandtechnology 3b886d05dc Reimplement shop preview gui close logic 2021-03-12 17:59:42 +08:00
sandtechnology d584aaf784 Introducing black magic for detecting double chest, fix #862 2021-03-12 17:26:20 +08:00
sandtechnology 828b40bfdc Clean up i18n loading logic, fix #861 2021-03-12 13:20:12 +08:00
dependabot-preview[bot] af046d32ad Bump LandsAPI from 5.1.13 to 5.2.4
Bumps LandsAPI from 5.1.13 to 5.2.4.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-11 06:36:38 +00:00
Ghost_chu 70c21ac6f4 Merge pull request #855 from Ghost-chu/l10n_master
New Crowdin updates
2021-03-06 23:00:19 +08:00
dependabot-preview[bot] c7dcd55a14 Bump MockBukkit-v1.16 from 0.24.0 to 0.31.0
Bumps [MockBukkit-v1.16](https://github.com/seeseemelk/MockBukkit) from 0.24.0 to 0.31.0.
- [Release notes](https://github.com/seeseemelk/MockBukkit/releases)
- [Commits](https://github.com/seeseemelk/MockBukkit/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 06:45:33 +00:00
sandtechnology 244d888cf4 Fix typo 2021-03-01 15:51:21 +08:00
sandtechnology 738cf9549a Add the right copyright, thanks to @NicoNekoDev 2021-03-01 15:50:02 +08:00
Ghost_chu 8a58912494 New translations messages.json (German) 2021-03-01 00:49:57 +08:00
Ghost_chu abc9b67ecd New translations messages.json (German) 2021-03-01 00:40:53 +08:00
Ghost_chu 1d6b0eaad1 New translations messages.json (English) 2021-02-28 11:00:14 +08:00
Ghost_chu bf8130e3be New translations messages.json (English) 2021-02-27 21:12:44 +08:00
Ghost_chu 279500c561 New translations messages.json (English) 2021-02-27 21:00:26 +08:00
Ghost_chu b39df4dc1d New translations messages.json (German) 2021-02-27 21:00:25 +08:00
Ghost_chu d4982fc291 New translations messages.json (German) 2021-02-27 20:50:13 +08:00
Ghost_chu 1fd077fea8 Fix StackOverFlowError 2021-02-27 10:15:41 +08:00
Ghost_chu 8c15bb9adb Skip gui closing on shutting down to resolve plugin stuck 2021-02-27 10:00:34 +08:00
Ghost_chu a97ce8625a simple javadoc 2021-02-26 21:21:25 +08:00
Ghost_chu 4f0446b288 Notify user if loading failed 2021-02-26 21:00:21 +08:00
Ghost_chu bc0bf7cb05 Stupid way to dismiss warning from DeepCode 2021-02-26 19:36:52 +08:00
Ghost_chu 749ad444c5 Close stream that we're opened 2021-02-26 19:31:31 +08:00
Ghost_chu 6be108c096 Fix stream closing issue 2021-02-26 19:29:17 +08:00
Ghost_chu 87df39cf23 Bug fix 2021-02-26 19:15:46 +08:00