File tree Expand file tree Collapse file tree 4 files changed +71
-0
lines changed
src/main/java/de/themoep/resourcepacksplugin/bukkit/internal Expand file tree Collapse file tree 4 files changed +71
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5
+ <modelVersion >4.0.0</modelVersion >
6
+
7
+ <artifactId >bukkit-v1_11_R1</artifactId >
8
+ <version >${plugin.version} </version >
9
+ <packaging >jar</packaging >
10
+
11
+ <parent >
12
+ <groupId >de.themoep.resourcepacksplugin</groupId >
13
+ <artifactId >parent</artifactId >
14
+ <version >parent</version >
15
+ </parent >
16
+
17
+
18
+ <dependencies >
19
+ <dependency >
20
+ <groupId >org.spigotmc</groupId >
21
+ <artifactId >spigot</artifactId >
22
+ <version >1.11-R0.1-SNAPSHOT</version >
23
+ <scope >provided</scope >
24
+ </dependency >
25
+ <dependency >
26
+ <groupId >de.themoep.resourcepacksplugin</groupId >
27
+ <artifactId >bukkit</artifactId >
28
+ <version >${project.version} </version >
29
+ </dependency >
30
+ </dependencies >
31
+
32
+ <properties >
33
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
34
+ </properties >
35
+
36
+ <build >
37
+ <plugins >
38
+ <plugin >
39
+ <groupId >org.apache.maven.plugins</groupId >
40
+ <artifactId >maven-compiler-plugin</artifactId >
41
+ <version >3.5.1</version >
42
+ <configuration >
43
+ <source >1.8</source >
44
+ <target >1.8</target >
45
+ </configuration >
46
+ </plugin >
47
+ </plugins >
48
+ </build >
49
+ </project >
Original file line number Diff line number Diff line change
1
+ package de .themoep .resourcepacksplugin .bukkit .internal ;
2
+
3
+ import org .bukkit .craftbukkit .v1_11_R1 .entity .CraftPlayer ;
4
+ import org .bukkit .entity .Player ;
5
+
6
+ /**
7
+ * Created by Phoenix616 on 22.07.2016.
8
+ */
9
+ public class InternalHelper_v1_11_R1 implements InternalHelper {
10
+
11
+ @ Override
12
+ public void setResourcePack (Player player , String url , String hash ) {
13
+ ((CraftPlayer ) player ).getHandle ().setResourcePack (url , hash );
14
+ }
15
+ }
Original file line number Diff line number Diff line change 17
17
<module >bukkit-v1_9_R1</module >
18
18
<module >bukkit-v1_9_R2</module >
19
19
<module >bukkit-v1_10_R1</module >
20
+ <module >bukkit-v1_11_R1</module >
20
21
<module >worldresourcepacks</module >
21
22
</modules >
22
23
Original file line number Diff line number Diff line change 28
28
<version >${project.version} </version >
29
29
<scope >compile</scope >
30
30
</dependency >
31
+ <dependency >
32
+ <groupId >de.themoep.resourcepacksplugin</groupId >
33
+ <artifactId >bukkit-v1_11_R1</artifactId >
34
+ <version >${project.version} </version >
35
+ <scope >compile</scope >
36
+ </dependency >
31
37
<dependency >
32
38
<groupId >de.themoep.resourcepacksplugin</groupId >
33
39
<artifactId >bukkit-v1_10_R1</artifactId >
You can’t perform that action at this time.
0 commit comments