Put classes in package to be more compatible with Bukkit.
This commit is contained in:
parent
80f9435a1a
commit
f0ec375834
12 changed files with 39 additions and 35 deletions
|
|
@ -1,13 +0,0 @@
|
|||
/* FlatFileSource class wrapper to expose protected properties */
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class DMFlatFileSource{/* extends FlatFileSource {
|
||||
public List<Warp> getAllWarps() {
|
||||
return this.warps;
|
||||
}
|
||||
|
||||
public List<Warp> getAllHomes() {
|
||||
return this.homes;
|
||||
}*/
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
/* MySQLSource class wrapper to expose protected properties */
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class DMMySQLSource{/* extends MySQLSource {
|
||||
public List<Warp> getAllWarps() {
|
||||
return this.warps;
|
||||
}
|
||||
|
||||
public List<Warp> getAllHomes() {
|
||||
return this.homes;
|
||||
}*/
|
||||
}
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
package org.dynmap;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
public class Cache<K, V>
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
package org.dynmap;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
package org.dynmap;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Graphics2D;
|
||||
import java.awt.Image;
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
package org.dynmap;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
import java.util.logging.Level;
|
||||
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
package org.dynmap;
|
||||
|
||||
/* this class stores a tile update */
|
||||
|
||||
public class TileUpdate {
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
package org.dynmap;
|
||||
|
||||
import java.io.*;
|
||||
import java.net.*;
|
||||
import java.util.*;
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
package org.dynmap;
|
||||
|
||||
import java.io.BufferedOutputStream;
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
package org.dynmap;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
import java.io.IOException;
|
||||
|
||||
|
|
@ -18,7 +20,6 @@ public class map extends JavaPlugin {
|
|||
|
||||
public map(PluginLoader pluginLoader, Server instance, PluginDescriptionFile desc, File plugin, ClassLoader cLoader) {
|
||||
super(pluginLoader, instance, desc, plugin, cLoader);
|
||||
registerEvents();
|
||||
}
|
||||
|
||||
public World getWorld() {
|
||||
|
|
@ -39,6 +40,8 @@ public class map extends JavaPlugin {
|
|||
}
|
||||
|
||||
listener = new MapListener(mgr);
|
||||
|
||||
registerEvents();
|
||||
}
|
||||
|
||||
@Override
|
||||
3
src/main/resources/plugin.yml
Normal file
3
src/main/resources/plugin.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
name: Dynamic Map
|
||||
main: org.dynmap.map
|
||||
version: 0.1
|
||||
Loading…
Add table
Add a link
Reference in a new issue