Minecraft PC IP: play.cubecraft.net

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,166
518
Kepler-452b
Hello, I'm posting this little thing that may help some people (when you touch water it kills you):
Code:
@EventHandler
public void onPlayerMove(PlayerMoveEvent e) {
    Material m = e.getPlayer().getLocation().getBlock().getType();
    if (m == Material.STATIONARY_WATER || m == Material
       p.setHealt(0,0);

I'll make explanation later
 
Members Online

Latest profile posts

Thjis wrote on lentjuhhh_'s profile.
Gefeliciteerdd lentjuh!
Reesle wrote on camulos's profile.
Thank you for everything, Camulos!
Reesle wrote on SuperSuccubus's profile.
Thanks for everything you did as a dev! Good luck with your future goals!
Reesle wrote on Verbramdt's profile.
Very late, but congrats on helper! You were a great staff before and I’m certain you will be once again!
Centuria wrote on lentjuhhh_'s profile.
IT’S YOUR BIRFDAY!!??! Happy birfday! 💖
Top Bottom