briangrug / atlantic Goto Github PK
View Code? Open in Web Editor NEWA free and open source iHCF fork
License: GNU General Public License v3.0
A free and open source iHCF fork
License: GNU General Public License v3.0
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Server info (please complete the following information):
Additional context
Add any other context about the problem here.
private static Packet getPlayerPacket(String name) {
//TODO THIS DOESN'T WORK YET LMAOOO
PacketPlayOutPlayerInfo packet = new PacketPlayOutPlayerInfo();
Field action;
Field username;
Field player;
try {
action = PacketPlayOutPlayerInfo.class.getDeclaredField("action");
username = PacketPlayOutPlayerInfo.class.getDeclaredField("username");
player = PacketPlayOutPlayerInfo.class.getDeclaredField("player");
action.setAccessible(true);
username.setAccessible(true);
player.setAccessible(true);
action.set(packet, 0);
username.set(packet, name);
player.set(packet, new GameProfile(UUID.randomUUID(), name));
} catch (NoSuchFieldException e) {
e.printStackTrace();
return null;
} catch (IllegalAccessException e) {
e.printStackTrace();
}
return packet;
}
Do you know how to do this in 1.16?
[09:19:15 INFO]: [Atlantic] Enabling Atlantic v1.0.2-SNAPSHOT
[09:19:15 ERROR]: Error occurred while enabling Atlantic v1.0.2-SNAPSHOT (Is it up to date?)
java.lang.NullPointerException
at me.scifi.hcf.visualise.ProtocolLibHook.hook(ProtocolLibHook.java:40) ~[?:?]
at me.scifi.hcf.HCF.onEnable(HCF.java:133) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) ~[spigot.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [spigot.jar:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:412) [spigot.jar:?]
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:477) [spigot.jar:?]
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:395) [spigot.jar:?]
at net.minecraft.server.v1_7_R4.MinecraftServer.n(MinecraftServer.java:354) [spigot.jar:?]
at net.minecraft.server.v1_7_R4.MinecraftServer.g(MinecraftServer.java:328) [spigot.jar:?]
at net.minecraft.server.v1_7_R4.MinecraftServer.a(MinecraftServer.java:284) [spigot.jar:?]
at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:232) [spigot.jar:?]
at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:495) [spigot.jar:?]
at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:?]
Describe the bug
When I try and compile the source code, it throws an ambiguous error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would get a .jar of the new features I added.
Screenshots
If applicable, add screenshots to help explain your problem.
Server info (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
When a player throws an enderpearl and on cooldown, it doesn't it give the enderpearl back
To Reproduce
Expected behavior
Cancel enderpearl event.
Screenshots
No Screenshots needed
Server info (please complete the following information):
Additional context
No further information
I'm making a server with this core, but I don't know what the permissions are for the users, would you help me by giving me the base of the permissions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.