mirror of
https://github.com/Zrips/Jobs.git
synced 2024-12-30 21:07:48 +01:00
Just remove this part
This commit is contained in:
parent
72f5945053
commit
1abeca9a74
3
pom.xml
3
pom.xml
@ -118,6 +118,9 @@
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>2.3.1</version>
|
||||
<configuration>
|
||||
<outputDirectory>C:\Users\Arte\Desktop\Server\plugins</outputDirectory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
@ -50,18 +50,6 @@ public class YmlMaker {
|
||||
}
|
||||
|
||||
this.Configuration = YamlConfiguration.loadConfiguration(f);
|
||||
|
||||
InputStream defConfigStream = this.plugin.getResource(this.fileName);
|
||||
if (defConfigStream != null) {
|
||||
YamlConfiguration defConfig = YamlConfiguration.loadConfiguration(f);
|
||||
this.Configuration.setDefaults(defConfig);
|
||||
}
|
||||
if (defConfigStream != null)
|
||||
try {
|
||||
defConfigStream.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
if (f != null)
|
||||
try {
|
||||
f.close();
|
||||
|
@ -1137,7 +1137,8 @@ public abstract class JobsDAO {
|
||||
for (Entry<String, HashMap<String, HashMap<Vector, BlockProtection>>> regions : worlds.getValue().entrySet()) {
|
||||
for (Entry<String, HashMap<Vector, BlockProtection>> chunks : regions.getValue().entrySet()) {
|
||||
for (Entry<Vector, BlockProtection> block : chunks.getValue().entrySet()) {
|
||||
|
||||
if (block.getValue() == null)
|
||||
continue;
|
||||
switch (block.getValue().getAction()) {
|
||||
case DELETE:
|
||||
delete.setInt(1, block.getValue().getId());
|
||||
|
Loading…
Reference in New Issue
Block a user