Commit Graph

217 Commits

Author SHA1 Message Date
Shevchik
841fee179b This allows the arrow to despawn properly 2013-12-19 00:20:12 +04:00
Shevchik
75eeafb979 Remove duplicate code 2013-12-16 23:30:55 +04:00
Shevchik
9af92fa1e5 Use getter here 2013-12-16 23:04:33 +04:00
Shevchik
364d9dbaca Null player sit data on disable 2013-12-16 23:02:59 +04:00
Shevchik
83e3f998c6 Move player sit operations to its own class 2013-12-16 23:02:31 +04:00
Shevchik
a5086a4af5 Refactor sit allowed check, remove ability to disable inverted check. 2013-12-16 21:43:46 +04:00
Shevchik
46fdc23ff5 Fix commands restrictions for real 2013-12-16 10:24:24 +04:00
Shevchik
965018dba3 Fix commands again 2013-12-16 10:22:50 +04:00
Shevchik
4810eb0ac4 Fix command restrict 2013-12-16 10:21:41 +04:00
Shevchik
015021bbf0 Fix config not generating 2013-12-16 10:10:27 +04:00
Shevchik
4567af8d83 Add command restrict while sitting 2013-12-15 20:10:22 +04:00
Shevchik
6e8132ee0f Bad idea, just cancel the event 2013-12-15 19:48:22 +04:00
Shevchik
6332a9b4ba Ooops 2013-12-15 19:29:20 +04:00
Shevchik
4710e5b10d Fix unsit on teleport 2013-12-15 19:27:25 +04:00
Shevchik
ef9f272a57 Also unsit player on teleport event 2013-12-15 18:59:10 +04:00
Shevchik
03c683af03 Split event listener 2013-12-15 18:33:38 +04:00
Shevchik
adde90b9eb Change sit-block-settings to sit-blocks 2013-12-15 15:56:26 +04:00
Shevchik
665b1be623 Remove deprecated warning 2013-12-15 15:54:18 +04:00
Shevchik
8f247ec6ce Only 2 warnings left 2013-12-15 15:28:06 +04:00
Shevchik
4f00ab70b1 Clean up apache BCEL lib, no more stupid warnings 2013-12-15 15:26:10 +04:00
Shevchik
6548caeddb Remove unused parts of apache bcel lib 2013-12-15 14:43:09 +04:00
Shevchik
8ef5f5655a Set proper position to player on leave 2013-12-15 12:40:09 +04:00
Shevchik
28d22a7a95 Also unsit player on death 2013-12-15 12:06:04 +04:00
Shevchik
e6f97895c9 Remove duplicate code 2013-12-14 22:20:46 +04:00
Shevchik
917e10e6dc Remove unused variable, reorganize config 2013-12-14 22:13:19 +04:00
Shevchik
bd5b538f1d Properly get sit height 2013-12-14 22:09:38 +04:00
Shevchik
939a70808f Add acacia stairs to default config 2013-12-14 22:05:34 +04:00
Shevchik
2638e2c1c8 Do not player try to unsit before unsit is actually finished 2013-12-14 21:54:49 +04:00
Shevchik
c13318bcab Remove unused import 2013-12-14 21:50:42 +04:00
Shevchik
e8f22e0d8a Remove duplicate 2013-12-14 21:46:55 +04:00
Shevchik
aa26c6626a Properly eject player
Actually i don't know why it works like that
2013-12-14 21:45:04 +04:00
Shevchik
e6d1a1ed76 Properly unsit player 2013-12-14 21:26:02 +04:00
Shevchik
ab080914b0 Fix instant unsit after sit 2013-12-14 21:16:05 +04:00
Shevchik
16a292dc6c Null loaded class on disable so plugin can be reloaded at least partially 2013-12-14 21:01:32 +04:00
Shevchik
5e5ca198df Do not allow player who sneak to sit 2013-12-14 18:21:24 +04:00
Shevchik
38d9aaf229 Reposition class output 2013-12-14 17:52:50 +04:00
Shevchik
cc993188fe Delete previous jar file before writing a new one just in case 2013-12-14 15:00:52 +04:00
Shevchik
424f6e5daa Remove unused import 2013-12-14 14:59:59 +04:00
Shevchik
81b09d3845 Remove empty event listener, fix priority 2013-12-14 14:38:28 +04:00
Shevchik
17d2554649 No longer need ProtocolLib
Tons of hacks...
2013-12-14 14:33:29 +04:00
Shevchik
04562288dd Move some methods 2013-12-13 16:50:03 +04:00
Shevchik
e307801bdd Change explanation 2013-12-13 13:55:01 +04:00
Shevchik
05c4ae027f Load config just like custom one so reload will work 2013-12-13 13:28:34 +04:00
Shevchik
e605cdeed1 Fix config format 2013-12-13 13:25:02 +04:00
Shevchik
f6d0f9c45e Fix header 2013-12-13 13:23:09 +04:00
Shevchik
9630ad0ae5 Rename option 2013-12-13 13:21:51 +04:00
Shevchik
3ea2661b78 Ooops 2013-12-13 13:21:10 +04:00
Shevchik
821cdef976 Change config option name 2013-12-13 13:20:50 +04:00
Shevchik
cb0b871ea2 Remove data value from chair block, bukkit doesn't support in anymore 2013-12-13 13:19:33 +04:00
Shevchik
89309be623 Remove sitting height setting. 2013-12-13 13:17:35 +04:00