mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
More bukkit adapter stuff, load SQL schema from file, start work on MySQL implementation, start event processing
This commit is contained in:
1 parent
8e7d5e74a0
commit
bd52c99d4d
18 files changed
+973
-101
No files matched your search
@@ -0,0 +1,20 @@
|
||||
package net.william278.huskhomes.util;
|
||||
|
||||
import net.william278.huskhomes.HuskHomesBukkit;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
public class BukkitResourceReader implements ResourceReader {
|
||||
|
||||
private final HuskHomesBukkit plugin;
|
||||
|
||||
public BukkitResourceReader(HuskHomesBukkit plugin) {
|
||||
this.plugin = plugin;
|
||||
}
|
||||
|
||||
@Override
|
||||
public InputStream getResource(String fileName) {
|
||||
return plugin.getResource(fileName);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user