We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edaa270 commit 482bf48Copy full SHA for 482bf48
1 file changed
public/themes/pterodactyl/js/plugins/minecraft/eula.js
@@ -19,6 +19,10 @@
19
// SOFTWARE.
20
$(document).ready(function () {
21
Socket.on('console', function (data) {
22
+ if (typeof data === 'undefined' || typeof data.line === 'undefined') {
23
+ return;
24
+ }
25
+
26
if (~data.line.indexOf('You need to agree to the EULA in order to run the server')) {
27
swal({
28
title: 'EULA Acceptance',
0 commit comments