Commit Graph

1113 Commits

Author SHA1 Message Date
libraryaddict
6bfa4b3d66 Set the miscDisguise id and data 2014-06-06 13:59:22 +12:00
libraryaddict
e3ca6c5b74 Change setGameProfile to setSkin and add logic for it 2014-06-06 00:08:54 +12:00
libraryaddict
708b184fa5 Attempt to use the UUID from the gameprofile 2014-06-05 23:52:04 +12:00
libraryaddict
06fdc16ca2 Make the miscdisguise code readable and not so unreliable for what you want/need 2014-06-05 12:08:28 +12:00
libraryaddict
dd5dc5d320 Don't group them, just colorize them and sort all methods by name together 2014-06-05 11:45:17 +12:00
libraryaddict
676d191c52 Merge pull request #30 from riking/stuff
Code cleanup
Fix horse rearing
DisguiseHelp improved
2014-06-05 10:47:56 +12:00
riking
3ebf54c192 Fix FQN in DisguiseType 2014-06-04 15:16:45 -07:00
riking
d645004abd Revert "Eh, let's just remove the shift by 0. Also doc the method"
This reverts commit 23303952b4.
2014-06-04 14:54:47 -07:00
riking
2ec2cbfb1c Some help improvements - color yellow if method is specific 2014-06-04 14:54:47 -07:00
libraryaddict
d23e518c1b Instead of using Object's for gameprofiles. Use WrappedGameProfile 2014-06-05 08:40:15 +12:00
libraryaddict
5ff1370ea0 Update protocollib to 3.4.0-snapshot 2014-06-05 08:39:55 +12:00
riking
5a288c586e Fix Horse's Rearing parameter 2014-06-04 12:10:51 -07:00
riking
0d8dce4538 Prefer storing the methods instead of getting them every time 2014-06-04 09:43:29 -07:00
riking
983026a898 Make a callValueOf() method to reduce code repetition 2014-06-04 09:27:52 -07:00
riking
1207d70d6e Dedent parseDisguise() method for-loop 2014-06-04 09:18:05 -07:00
riking
bb0ac727bf Remove more redundant actions 2014-06-04 09:17:47 -07:00
riking
23303952b4 Eh, let's just remove the shift by 0. Also doc the method 2014-06-04 08:33:30 -07:00
libraryaddict
7cde5b755e Read desc
Added boolean to disguise which tells you simply if the disguise is in
use or not.
In use means that the plugin stores a reference, doesn't nessercerily
mean there is a entity.

Added method startDisguise() to disguise and cleaned up setEntity().
Helps counter the idiots who hate DisguiseAPI
2014-06-05 00:30:12 +12:00
libraryaddict
f894b34264 Disguise commands now tell you when they didn't disguise successfully 2014-06-05 00:26:35 +12:00
libraryaddict
956fef9ca1 Add a config option which fixes a bug where you can dye sheep/wolf client sidedly 2014-06-04 14:43:58 +12:00
libraryaddict
87c0cb4a78 Actually remove the unknown entity id. Not the known entity ids.. 2014-06-04 14:20:02 +12:00
libraryaddict
239bc6d645 Check a second after the future disguise was added that it was successful. 2014-06-04 14:12:09 +12:00
libraryaddict
f535eefabf Instead of throwing a error then another error. Just make a FlagWatcher after the first error 2014-06-04 14:00:08 +12:00
libraryaddict
34f0a13b39 Remove badly thought out and obselete feature that didn't work 2014-06-04 13:58:16 +12:00
libraryaddict
11e36a3974 Merge pull request #29 from riking/refactoring
Fix the build
2014-06-04 13:48:10 +12:00
riking
09a58efbd1 Fix the build 2014-06-03 18:47:00 -07:00
libraryaddict
cbbf5c8f2e Merge pull request #28 from riking/refactoring
Fix IntelliJ warnings
2014-06-04 13:43:06 +12:00
riking
db5e77d28f Remove useless local 2014-06-03 18:42:27 -07:00
riking
46c63ed841 TODO entries 2014-06-03 18:42:27 -07:00
riking
6d6b766823 For-each loops, remove unused method parameters 2014-06-03 18:42:27 -07:00
riking
5dce8a22e8 Simplify redundant statements and casts 2014-06-03 18:42:27 -07:00
riking
009df4a0ad Turn manual array copies into System.arrayCopy 2014-06-03 18:42:27 -07:00
riking
d32a077359 StringBuilder, rename local, javadocs 2014-06-03 18:42:27 -07:00
riking
c4b48df0ee Apply unused config value, but keep behavior - looks broken 2014-06-03 18:42:26 -07:00
riking
a25bc46dea Move tryClose() method in order 2014-06-03 18:41:26 -07:00
riking
180998e5ca Refactor: tryClose() method 2014-06-03 18:41:26 -07:00
libraryaddict
4e441493c1 Combine inventory listener server and client into one listener. Seeing as they don't need to be seperate and actually cuts down on code 2014-06-04 12:47:52 +12:00
libraryaddict
297dcd351f Check the current disguise is also the current flagwatcher 2014-06-04 12:42:49 +12:00
libraryaddict
72f8aad151 Put the strings in the same getter. It makes no difference and is cleaner 2014-06-04 12:42:49 +12:00
libraryaddict
406627e404 Merge pull request #27 from riking/refactoring
Refactor out initConfig method
2014-06-04 12:44:07 +12:00
riking
b96337f29b Refactor out initConfig method 2014-06-03 17:42:13 -07:00
libraryaddict
ac54e9b73c Released 8.2.5 2014-06-02 23:40:12 +12:00
libraryaddict
6b18fafca4 Changed getOwner in tameable to return null 2014-06-02 23:39:31 +12:00
libraryaddict
04de21dba4 Changed getHorseArmor to return a itemstack, rename getHorseArmor to getHorseAmorAsInt and default owner name is null 2014-06-02 23:39:12 +12:00
libraryaddict
b12e4b1da9 Revert "Released 8.2.5"
This reverts commit 46f534921e.
2014-06-02 23:35:39 +12:00
libraryaddict
46f534921e Released 8.2.5 2014-06-02 23:30:28 +12:00
libraryaddict
a9d5e8b109 Opps. Fixed the method calling itself instead of the proper API call 2014-06-02 23:28:52 +12:00
libraryaddict
4bbf0fbece Clone the disguise when fetched 2014-06-02 10:06:30 +12:00
libraryaddict
31a0b68bdc Change the use of the disguiseclone command to use references instead 2014-06-02 10:03:59 +12:00
libraryaddict
4b55a24444 Fix AnimalColor getting not working properly 2014-06-02 08:56:18 +12:00