Commit Graph

219 Commits

Author SHA1 Message Date
Jitse Boonstra eb01c0ff46 Fixed respawn issue (#69) and updated version to 2.5.1.-SNAPSHOT. 2020-04-15 20:10:03 +02:00
Jitse Boonstra a9d2e090a6
Merge pull request #68 from rexlManu/master
Fixed labymod emote
2020-04-13 12:51:40 +02:00
Emmanuel Lampe f587cc6cfa Fixed labymod emote 2020-04-13 12:38:35 +02:00
Jitse Boonstra 5ca2599e6e
Update README.md 2020-04-12 18:54:44 +02:00
Jitse Boonstra 7ebe38df29
Update README.md 2020-04-12 18:54:01 +02:00
Jitse Boonstra d08da10f9b
Update README.md
Update image to old one because I like it more.
2020-04-12 18:49:50 +02:00
Jitse Boonstra 157d5bfba3
Update README.md 2020-04-12 18:48:32 +02:00
Jitse Boonstra 33a8615aad Added support for LabyMod EmoteAPI. 2020-04-12 17:01:18 +02:00
Jitse Boonstra 8e661b024e Code for 2.4.2-SNAPSHOT. 2020-04-11 20:51:05 +02:00
Jitse Boonstra e47dbc51d0 Improved auto-show handling and fix for #59 2020-04-11 19:57:12 +02:00
Jitse Boonstra c7a404b589
Merge pull request #64 from MrMicky-FR/master
Fix error with ViaVersion
2020-04-11 19:19:48 +02:00
MrMicky efdabf01b9
Update Hologram 2020-04-10 16:07:20 +02:00
MrMicky 493118fa3b
Update Hologram 2020-04-10 13:58:41 +02:00
MrMicky 89e2a63777
Don't send offhand on 1.8 2020-04-10 13:57:24 +02:00
Jitse Boonstra 1ed374bb3f Change version number. 2020-03-15 00:19:22 +01:00
Jitse Boonstra 6a6a04b00d Removed unnecessary code. 2020-03-14 23:35:42 +01:00
Jitse Boonstra c9c71ba80d Patch for hologram glitch in 1.15 R1. 2020-03-14 23:29:07 +01:00
Jitse Boonstra 9bf3095a56 Small patch for TinyProtocol issues. 2020-03-08 21:13:29 +01:00
Jitse Boonstra 1a1f3618d5 Updated version to 2.4-SNAPSHOT. 2020-02-20 21:03:28 +01:00
Jitse Boonstra 0008b2c613
Merge pull request #52 from MrMicky-FR/master
Add 1.15 support and cleanup some code
2020-02-20 21:00:09 +01:00
MrMicky 948f88162d Fix last commit 2020-02-19 15:16:38 +01:00
MrMicky 4ed0d49984 Add Minecraft 1.15 support 2020-02-19 14:58:18 +01:00
MrMicky fbf4b46858 Cleanup some code (fix warns, fix NPE, remove duplicates) 2020-02-19 14:57:07 +01:00
Jitse Boonstra a6667129c9
Merge pull request #47 from A248/master
Implement proper multi-threading
2019-12-30 18:16:25 +01:00
A248 a9e06eab79
Change thread pool type
Replace cached thread pool (Executors.newCachedThreadPool()) with single thread pool (Executors.newSingleThreadExecutor()). The single thread executor is more efficient for lazy asynchronous operations.
2019-11-23 11:07:18 -05:00
A248 f2bc472f6f
Implement proper multi-threading
Replace raw Thread instantiation with a thread pool.
2019-11-23 10:56:28 -05:00
Jitse Boonstra 1d92363b82
Merge pull request #43 from A248/master
Update ChunkListener to fix a minor NPE bug
2019-11-15 19:22:42 +01:00
A248 b5621816cb
Update ChunkListener to fix a minor NPE bug
Fixes a NullPointerException at the root of the problem. Bukkit.getPlayer(UUID) can return a null value, so a simple null check will do the trick.
2019-11-06 19:00:04 -05:00
Jitse Boonstra 81b2bc3569 Merge branch 'master' of https://github.com/JitseB/NPCLib 2019-11-04 10:13:19 +01:00
Jitse Boonstra 82ee9522a3 Removed 1.8 R1 support (and updated version id to v2.3.1)
Drastic improvement in library size.
2019-11-04 10:13:14 +01:00
Jitse Boonstra ca18bd0dbd
Merge pull request #40 from A248/master
Add Getters for NPC's Item, Text, and State
2019-11-01 07:33:55 +01:00
A248 47d3417606
Updated NPCBase to with NPC#getState(NPCState)
Implemented net.jitse.npclib.api.NPC#getState(NPCState) to return a boolean indicating whether a state is toggled or not.
2019-10-31 20:14:46 -04:00
A248 73df32172e
Add getState(NPCState)
Adds NPC#getState(NPCState) to return a boolean indicating whether the NPC in question has a specific state.
2019-10-31 20:10:20 -04:00
A248 b97361516c
Make NPCBase.java compliant with updated NPC.java
Makes NPCBase compliant with net.jitse.npclib.api.NPC.
Implements NPC#getText() to return List<String> and NPC#getSlot(NPCSlot slot) to return ItemStack.
2019-10-31 19:57:04 -04:00
A248 d7144e445e
Update NPC.java with getText() and getItem()
Adds these methods to the NPC interface.
2019-10-31 19:50:46 -04:00
Jitse Boonstra 5e25836310
Merge pull request #36 from JitseB/dependabot/maven/api/io.netty-netty-all-4.1.42.Final
Bump netty-all from 4.1.33.Final to 4.1.42.Final in /api
2019-10-29 12:54:31 +01:00
Jitse Boonstra faf4603d80 Updated artifact version. 2019-10-29 12:44:23 +01:00
Jitse Boonstra 5650cbd1e2 For 2.3-SNAPSHOT, text update method (#11)! 2019-10-29 12:43:54 +01:00
Jitse Boonstra d9558eef63 Text update function working on v1.8 R1! 2019-10-28 20:10:47 +01:00
Jitse Boonstra 3dceca16b9 More things for #11 😄 2019-10-21 20:21:03 +02:00
Jitse Boonstra 4d2140d24c Started thinking about the implemtation of #11 2019-10-21 09:49:23 +02:00
Jitse Boonstra 6d5895870b Updated Maven artifact version to 2.2-SNAPSHOT. 2019-10-20 20:16:48 +02:00
Jitse Boonstra 6f3f9b05d4 For v2.2. 2019-10-20 20:04:38 +02:00
Jitse Boonstra cd1115d2a3 More code for #20
Started work on 1.8 R2 to 1.9 R2 with some slight errors, will be fixed later. 1.8 R1 should be working though.
2019-10-20 11:36:37 +02:00
Jitse Boonstra 96028d2ca1 Started work on #20 2019-10-20 10:48:12 +02:00
dependabot[bot] a3f0188483
Bump netty-all from 4.1.33.Final to 4.1.42.Final in /api
Bumps [netty-all](https://github.com/netty/netty) from 4.1.33.Final to 4.1.42.Final.
- [Release notes](https://github.com/netty/netty/releases)
- [Commits](https://github.com/netty/netty/compare/netty-4.1.33.Final...netty-4.1.42.Final)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-11 19:20:46 +00:00
Jitse Boonstra a91ee58547 Updated version to 2.1-SNAPSHOT. 2019-10-05 17:44:01 +02:00
Jitse Boonstra e54e13b53f
Merge pull request #33 from DungeonRealms/master
Optimize important code, add distance interaction check.
2019-10-05 17:41:28 +02:00
Kneesnap bd172a100a Fully fix kick bug for all versions.
The problem was that if a scoreboard team is sent while it's already registered, the player will disconnect.
Since there does not appear to be any downside to never removing the team,
we just won't remove the team, and send the team only once.
If there are any problems with this in the future, we can implement a smart solution which will be able to handle the packet sending properly.
2019-09-25 15:02:37 -07:00
Kneesnap 3dd725c91c Fix 1.12 kick bug. (Registering a scoreboard while an old one exists.) 2019-09-23 23:48:10 -07:00