mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2024-12-02 13:33:31 +01:00
Fixed NoSuchMethodErrorr when stopping server using Paper 1.14
This commit is contained in:
parent
d82f92e06b
commit
2f28183261
@ -27,10 +27,10 @@ public class PaperAdapter implements PaperInterface {
|
|||||||
|
|
||||||
switch (paperVersion) {
|
switch (paperVersion) {
|
||||||
case PAPER_UNAVAILABLE:
|
case PAPER_UNAVAILABLE:
|
||||||
PaperAdapter.ADAPTER = new PaperAdapter();
|
|
||||||
break;
|
|
||||||
case PAPER_V1_13:
|
case PAPER_V1_13:
|
||||||
case PAPER_V1_14:
|
case PAPER_V1_14:
|
||||||
|
PaperAdapter.ADAPTER = new PaperAdapter();
|
||||||
|
break;
|
||||||
case PAPER_V1_15:
|
case PAPER_V1_15:
|
||||||
PaperAdapter.ADAPTER = new PaperHandler();
|
PaperAdapter.ADAPTER = new PaperHandler();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user