mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Add support for spigot 1.13-pre7
This commit is contained in:
parent
aaa70888bd
commit
f533efb2c8
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,7 @@
|
|||||||
package com.plotsquared.bukkit.util;
|
package com.plotsquared.bukkit.util;
|
||||||
|
|
||||||
public class BukkitVersion {
|
public class BukkitVersion {
|
||||||
|
public static int[] v1_13_0 = {1, 13, 0};
|
||||||
public static int[] v1_12_1 = {1, 12, 1};
|
public static int[] v1_12_1 = {1, 12, 1};
|
||||||
public static int[] v1_12_0 = {1, 12, 0};
|
public static int[] v1_12_0 = {1, 12, 0};
|
||||||
public static int[] v1_11_0 = {1, 11, 0};
|
public static int[] v1_11_0 = {1, 11, 0};
|
||||||
|
@ -51,7 +51,7 @@ public class BukkitLocalQueue_1_9 extends BukkitLocalQueue<char[]> {
|
|||||||
ReflectionUtils.RefClass classWorld = getRefClass("{nms}.World");
|
ReflectionUtils.RefClass classWorld = getRefClass("{nms}.World");
|
||||||
this.tileEntityListTick = classWorld.getField("tileEntityListTick");
|
this.tileEntityListTick = classWorld.getField("tileEntityListTick");
|
||||||
this.methodGetWorld = classChunk.getMethod("getWorld");
|
this.methodGetWorld = classChunk.getMethod("getWorld");
|
||||||
this.methodW = classWorld.getMethod("w", classBlockPosition.getRealClass());
|
this.methodW = classWorld.getMethod("r", classBlockPosition.getRealClass());
|
||||||
this.fieldSections = classChunk.getField("sections");
|
this.fieldSections = classChunk.getField("sections");
|
||||||
this.fieldWorld = classChunk.getField("world");
|
this.fieldWorld = classChunk.getField("world");
|
||||||
ReflectionUtils.RefClass classBlock = getRefClass("{nms}.Block");
|
ReflectionUtils.RefClass classBlock = getRefClass("{nms}.Block");
|
||||||
|
Loading…
Reference in New Issue
Block a user