Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

Commit

Permalink
Remove exceptions from PokkitPlayer#playEffect(...)
Browse files Browse the repository at this point in the history
Fixes #64
  • Loading branch information
MrPowerGamerBR committed Feb 15, 2017
1 parent 7c806e4 commit c3b881d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/main/java/nl/rutgerkok/pokkit/player/PokkitPlayer.java
Expand Up @@ -132,7 +132,7 @@ public InetSocketAddress getRawAddress() {
@Override
public void playEffect(Location location, Effect effect, int id, int data, float offsetX, float offsetY,
float offsetZ, float speed, int particleCount, int radius) {
throw Pokkit.unsupported();
// Silently unsupported!
}

@Override
Expand Down Expand Up @@ -824,14 +824,12 @@ public boolean performCommand(String arg0) {

@Override
public void playEffect(Location arg0, Effect arg1, int arg2) {
throw Pokkit.unsupported();

// Silently unsupported!
}

@Override
public <T> void playEffect(Location arg0, Effect arg1, T arg2) {
throw Pokkit.unsupported();

// Silently unsupported!
}

@Override
Expand Down

0 comments on commit c3b881d

Please sign in to comment.